bin: lint using putout

This commit is contained in:
coderaiser
2020-10-25 01:13:40 +03:00
parent 782797ca11
commit 99b1a7a49b
5 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ let flagArgs = [];
if (process.argv.length > 2) {
const args = process.argv.slice(2);
flagArgs = args.filter(e => e.startsWith('--')).map(arg => arg.split('=')).reduce((arr, val) => arr.concat([...val], []));
flagArgs = args.filter(e => e.startsWith('--')).map(arg => arg.split('=')).reduce((arr, val) => arr.concat(val.split(''), []));
console.info(flagArgs);
// ability to inject particular test files via
// yarn test [testFileA testFileB ...]