Commit 6e43792
Validate file extension before creating empty file
Move validateConfigFileExtension call before file.CreateEmptyIfNotExists
to avoid creating unnecessary files with invalid extensions on the filesystem.
This addresses the review comment by ensuring validation happens first.
Co-authored-by: dlevy-msft-sql <[email protected]>1 parent eeb651b commit 6e43792
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | | - | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
0 commit comments