Update tsc.ts

This commit is contained in:
Izuco 2022-01-31 19:09:11 +01:00
parent 64d9f64fb8
commit a011ef17be
No known key found for this signature in database
GPG key ID: E9CBE9E4EF3A1BFA

2
tsc.ts
View file

@ -6,7 +6,7 @@ import { removeSync, copyFileSync } from 'fs-extra';
const argv = process.argv.slice(2);
let buildIgnore: string[] = [];
const isTest = !(argv.length > 0 && argv[0] !== 'test');
const isTest = argv.length > 0 && argv[0] === 'test';
if (!isTest)
buildIgnore = [