Skip to content

Commit c32dd0f

Browse files
committed
chore(tsconfig) better error message
1 parent 5a215be commit c32dd0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/main/tsconfig/tsconfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var compilerOptionsValidation = {
4646
};
4747
var validator = new simpleValidator.SimpleValidator(compilerOptionsValidation);
4848
exports.errors = {
49-
GET_PROJECT_INVALID_PATH: 'Invalid Path',
49+
GET_PROJECT_INVALID_PATH: 'The path used to query for tsconfig.json does not exist',
5050
GET_PROJECT_NO_PROJECT_FOUND: 'No Project Found',
5151
GET_PROJECT_FAILED_TO_OPEN_PROJECT_FILE: 'Failed to fs.readFileSync the project file',
5252
GET_PROJECT_JSON_PARSE_FAILED: 'Failed to JSON.parse the project file',

lib/main/tsconfig/tsconfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export interface TypeScriptProjectFileDetails {
161161
//////////////////////////////////////////////////////////////////////
162162

163163
export var errors = {
164-
GET_PROJECT_INVALID_PATH: 'Invalid Path',
164+
GET_PROJECT_INVALID_PATH: 'The path used to query for tsconfig.json does not exist',
165165
GET_PROJECT_NO_PROJECT_FOUND: 'No Project Found',
166166
GET_PROJECT_FAILED_TO_OPEN_PROJECT_FILE: 'Failed to fs.readFileSync the project file',
167167
GET_PROJECT_JSON_PARSE_FAILED: 'Failed to JSON.parse the project file',

0 commit comments

Comments
 (0)