Skip to content

Commit

Permalink
remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
ecraig12345 committed Mar 14, 2024
1 parent 0d44594 commit a1d5a47
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/just-task/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import * as fs from 'fs';
import * as path from 'path';

import { argv } from './option';
import { resolve } from './resolve';
import { mark, logger } from 'just-task-logger';
Expand Down Expand Up @@ -44,11 +42,6 @@ export async function readConfig(): Promise<{ [key: string]: TaskFunction } | vo
process.exit(1);
}

if (!fs.existsSync(configFile)) {
logger.error(`The specified config file "${configFile}" doesn't exist or couldn't be resolved.`);
process.exit(1);
}

const ext = path.extname(configFile).toLowerCase();

if (ext === '.ts') {
Expand Down

0 comments on commit a1d5a47

Please sign in to comment.