chore: minor code rearrangement (#10650)

This commit is contained in:
Saransh Miglani 2021-12-01 22:48:16 +05:30 committed by GitHub
parent d66b7aab3b
commit f05252874a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,9 +119,8 @@ async function createLoader(opts: { [key: string]: any }): Promise<Loader> {
overrides.maxFailures = 1; overrides.maxFailures = 1;
overrides.timeout = 0; overrides.timeout = 0;
overrides.workers = 1; overrides.workers = 1;
}
if (opts.debug)
process.env.PWDEBUG = '1'; process.env.PWDEBUG = '1';
}
const loader = new Loader(defaultConfig, overrides); const loader = new Loader(defaultConfig, overrides);