Merge pull request #837 from embark-framework/eject_msg

modify eject msg
This commit is contained in:
Iuri Matias 2018-09-14 18:20:42 -04:00 committed by GitHub
commit 9f1cb71117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -428,13 +428,9 @@ class EmbarkController {
} }
if (dappConfigOld !== dappConfig) { if (dappConfigOld !== dappConfig) {
fs.copySync(dappConfig, dappConfigOld); fs.copySync(dappConfig, dappConfigOld);
console.warn(`${dappConfig}`.yellow);
console.warn(__('copied to').dim.yellow);
console.warn(`${dappConfigOld}\n`.yellow);
} }
fs.copySync(embarkConfig, dappConfig); fs.copySync(embarkConfig, dappConfig);
console.log(`${embarkConfig}`.green); console.log(__('webpack config ejected to: ').dim.yellow);
console.log(__('copied to').dim.green);
console.log(`${dappConfig}`.green); console.log(`${dappConfig}`.green);
} }