Skip to content

Commit

Permalink
refactor: Reorder imports and constants in the file's head
Browse files Browse the repository at this point in the history
  • Loading branch information
RSeidelsohn committed Apr 11, 2023
1 parent 8cef34c commit cb83ebb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/license-checker-rseidelsohn
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ Code licensed under the BSD License:
http://yuilibrary.com/license/
*/

const licenseChecker = require('../lib/index');
const args = require('../lib/args');
const helpers = require('../lib/helpers');
const exitProcessOrWarnIfNeeded = require('../lib/exitProcessOrWarnIfNeeded');
const parsedArgs = args.parse();
const fs = require('fs');
const helpers = require('../lib/helpers');
const licenseChecker = require('../lib/index');
const mkdirp = require('mkdirp');
const path = require('path');
const fs = require('fs');
const hasFailingArg = parsedArgs.failOn || parsedArgs.onlyAllow;

const parsedArgs = args.parse();
const hasFailingArg = parsedArgs.failOn || parsedArgs.onlyAllow;
const kownOptions = Object.keys(args.knownOpts);
const unknownArgs = Object.keys(parsedArgs).filter((arg) => !kownOptions.includes(arg));

Expand Down

0 comments on commit cb83ebb

Please sign in to comment.