fix(cli-init): configurations should be reversed

close: #31
This commit is contained in:
Micooz 2017-03-23 11:03:02 +08:00
parent 4147eb9af3
commit f60638b50f

@ -41,7 +41,7 @@ const files = [
Promise.all(
files.map((file, i) => new Promise((resolve) => {
const jsonData = JSON.stringify(
(i === 1) ? commonJson : Object.assign({}, {'servers': ['']}, commonJson),
(i === 0) ? commonJson : Object.assign({}, {'servers': ['']}, commonJson),
null,
' '
);