Skip to content

Commit 5944af7

Browse files
committed
refactor(logging): better error message around sourceMaps setting
better error message around sourceMaps setting
1 parent 27186de commit 5944af7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ function validateTsConfigSettings(tsConfigFileContents: string) {
7676
tsConfigJson.compilerOptions.sourceMap === true;
7777

7878
if (!isValid) {
79-
const error = new BuildError(['Your "tsconfig.json" file must have compilerOptions.sourceMap set to true.',
79+
const error = new BuildError(['The "tsconfig.json" file must have compilerOptions.sourceMap set to true.',
8080
'For more information please see the default Ionic project tsconfig.json file here:',
8181
'https://github.com/driftyco/ionic2-app-base/blob/master/tsconfig.json'].join('\n'));
8282
error.isFatal = true;
8383
return reject(error);
8484
}
8585
resolve();
8686
} catch (e) {
87-
const error = new BuildError('Your "tsconfig.json" file contains malformed JSON.');
87+
const error = new BuildError('The "tsconfig.json" file contains malformed JSON.');
8888
error.isFatal = true;
8989
return reject(error);
9090
}

0 commit comments

Comments
 (0)