Skip to content

Commit f9e7ca3

Browse files
committed
fix: don't delete .env-sample
1 parent bb0fa6f commit f9e7ca3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/setup-envs.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ function processSampleFile(samplePath, envPath, values) {
7272

7373
const newContent = lines.join('\n') + '\n';
7474
fs.writeFileSync(envPath, newContent, 'utf8');
75-
if (samplePath !== envPath) {
76-
fs.unlinkSync(samplePath); // remove sample after successful creation
77-
}
7875
}
7976

8077
function processDirectory(dir, values, summary) {

0 commit comments

Comments
 (0)