Skip to content

Commit 2ff36ad

Browse files
authored
fix spelling of disabled (#55)
1 parent 2fc5e59 commit 2ff36ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/app/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ export async function runApp(args: types.GenerateCodeInput) {
1010
if (!context.getInstance().isOverwriteFilesEnabled()) {
1111
if (fs.existsSync(context.getInstance().getApiFilePath())) {
1212
logger.fatal(
13-
`Error: overwriting is disbaled and api.ts file already exists at ${context.getInstance().getApiFilePath()}. To enable file overwrite, please set 'NDC_OAS_FILE_OVERWRITE' environment variable to true, or use the --overwrite flag`,
13+
`Error: overwriting is disabled and api.ts file already exists at ${context.getInstance().getApiFilePath()}. To enable file overwrite, please set 'NDC_OAS_FILE_OVERWRITE' environment variable to true, or use the --overwrite flag`,
1414
);
1515
exit(0);
1616
}
1717
if (fs.existsSync(context.getInstance().getFunctionsFilePath())) {
1818
logger.fatal(
19-
`Error: overwriting is disbaled and functions.ts file already exists at ${context.getInstance().getFunctionsFilePath()}. To enable file overwrite, please set 'NDC_OAS_FILE_OVERWRITE' environment variable to true, or use the --overwrite flag`,
19+
`Error: overwriting is disabled and functions.ts file already exists at ${context.getInstance().getFunctionsFilePath()}. To enable file overwrite, please set 'NDC_OAS_FILE_OVERWRITE' environment variable to true, or use the --overwrite flag`,
2020
);
2121
exit(0);
2222
}

0 commit comments

Comments
 (0)