We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a51eb commit 7faca76Copy full SHA for 7faca76
packages/just-task/src/config.ts
@@ -1,6 +1,4 @@
1
-import * as fs from 'fs';
2
import * as path from 'path';
3
-
4
import { argv } from './option';
5
import { resolve } from './resolve';
6
import { mark, logger } from 'just-task-logger';
@@ -44,11 +42,6 @@ export async function readConfig(): Promise<{ [key: string]: TaskFunction } | vo
44
42
process.exit(1);
45
43
}
46
47
- if (!fs.existsSync(configFile)) {
48
- logger.error(`The specified config file "${configFile}" doesn't exist or couldn't be resolved.`);
49
- process.exit(1);
50
- }
51
52
const ext = path.extname(configFile).toLowerCase();
53
54
if (ext === '.ts') {
0 commit comments