1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

add await

This commit is contained in:
Abreto Fu 2018-11-29 17:13:49 +08:00
parent 3ef948b30a
commit 9bc12b354c

View File

@ -405,7 +405,7 @@ export const commands = {
if (major === 0) { if (major === 0) {
if (minor >= 57) { if (minor >= 57) {
// https://github.com/facebook/react-native/commit/a32620dc3b7a0ebd53feeaf7794051705d80f49e#diff-75692fe55c8b1a7c05f4264301342167L101 // https://github.com/facebook/react-native/commit/a32620dc3b7a0ebd53feeaf7794051705d80f49e#diff-75692fe55c8b1a7c05f4264301342167L101
defaultConfig = Config.load(); defaultConfig = await Config.load();
} else if (minor >= 45) { } else if (minor >= 45) {
defaultConfig = Config.findOptional(path.resolve('.')); defaultConfig = Config.findOptional(path.resolve('.'));
} else if (minor >= 42) { } else if (minor >= 42) {