Skip to content

Commit

Permalink
Fix: fix writing config file when source is prompt (#10422)
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane authored and aladdin-add committed Jun 6, 2018
1 parent 917108d commit fe8bec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/config-initializer.js
Expand Up @@ -623,7 +623,7 @@ function promptUser() {
const config = processAnswers(totalAnswers);
const modules = getModulesList(config);

return askInstallModules(modules).then(() => writeFile(config, earlyAnswers.format));
return askInstallModules(modules).then(() => writeFile(config, answers.format));
});
});
});
Expand Down

0 comments on commit fe8bec3

Please sign in to comment.