Commit d942a17
fix: replace validate foreach with linq all in prompttemplatebase
Changed foreach loop with early return pattern to LINQ All method for
cleaner declarative validation of required variables.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 766447c commit d942a17
1 file changed
Lines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
109 | 102 | | |
110 | 103 | | |
111 | 104 | | |
| |||
0 commit comments