Skip to content

Commit

Permalink
Fix to change environment
Browse files Browse the repository at this point in the history
It was always building production environment despite using `cross-env ENV=dev` preapended to `npm start` (at least at windows).
  • Loading branch information
OliverLonghi authored Mar 13, 2018
1 parent 4c51e19 commit 448d68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/environments/set_profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var path = require('path');
var profile = process.env.ENV ? process.env.ENV : 'local';

console.log('Déplacement du template de fichier de détection de configuration ...');
fs.copySync(path.resolve(__dirname,'./app.config.ts.tpl'), path.resolve(__dirname,'../src/app/app.config.ts'));
fs.copySync(path.resolve(__dirname,'./app.config.ts.tpl'), path.resolve(__dirname,'../../src/app/app.config.ts'));

console.log('Application du profil : ' + profile);

Expand Down

0 comments on commit 448d68b

Please sign in to comment.