Skip to content

Commit

Permalink
fix: remove conditional env file creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ZipingL committed Oct 28, 2023
1 parent 3417a6d commit 5956544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/public.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,5 +171,5 @@ if(process && process?.env){
process.env.DATEMODIFIED_CODE_DEPLOYED = modifiedDate;
}
const env_filestring = `DATEMODIFIED_CODE_DEPLOYED=${modifiedDate}`;
fs.writeFileSync(path.resolve(__dirname, '../.env'), env_filestring, 'utf8'); fs.writeFileSync(path.resolve(__dirname, '../.env'), env_filestring, 'utf8');
fs.writeFileSync(path.resolve(__dirname, '../.env'), env_filestring, 'utf8');
fs.writeFileSync(path.resolve(__dirname, '../build/index.html'), htmlMiny, 'utf8');

0 comments on commit 5956544

Please sign in to comment.