mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-07-14 00:00:06 +08:00
2.25.4
This commit is contained in:
+1
-1
@@ -106,8 +106,8 @@ checkBrowsers(paths.appPath, isInteractive)
|
||||
);
|
||||
},
|
||||
err => {
|
||||
console.log(chalk.red('Failed to compile.\n'));
|
||||
printBuildError(err);
|
||||
throw new Error('Failed to compile');
|
||||
process.exit(1);
|
||||
}
|
||||
)
|
||||
|
||||
+1
-1
@@ -106,8 +106,8 @@ checkBrowsers(paths.appPath, isInteractive)
|
||||
);
|
||||
},
|
||||
err => {
|
||||
console.log(chalk.red('Failed to compile.\n'));
|
||||
printBuildError(err);
|
||||
throw new Error('Failed to compile');
|
||||
process.exit(1);
|
||||
}
|
||||
)
|
||||
|
||||
+2
-1
@@ -41,7 +41,8 @@ function isInMercurialRepository() {
|
||||
// Watch unless on CI or explicitly running all tests
|
||||
if (
|
||||
!process.env.CI &&
|
||||
argv.indexOf('--watchAll') === -1
|
||||
argv.indexOf('--watchAll') === -1 &&
|
||||
argv.indexOf('--watchAll=false') === -1
|
||||
) {
|
||||
// https://github.com/facebook/create-react-app/issues/5210
|
||||
const hasSourceControl = isInGitRepository() || isInMercurialRepository();
|
||||
|
||||
Reference in New Issue
Block a user