Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

Commit

Permalink
Pick Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Bentley authored and Bentley committed Jul 25, 2017
1 parent a9491bd commit c41e59d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
11 changes: 5 additions & 6 deletions lib/commands/check.js
@@ -1,7 +1,6 @@
'use strict';
var usage = require('../../lib/utils/usage.js')('check.txt');
var Check = require('../check.js');
var Formatters = require('../formatters');
var Path = require('path');
var getFormatter = require('../../lib/index').getFormatter;

Expand Down Expand Up @@ -54,11 +53,11 @@ module.exports = {
boolean: true,
default: false
},
{
name: 'quiet',
boolean: true,
default: false
}
{
name: 'quiet',
boolean: true,
default: false
}
],
command: onCommand
};
2 changes: 0 additions & 2 deletions lib/formatters/quiet.js
@@ -1,8 +1,6 @@
'use strict';

var Chalk = require('chalk');
var Table = require('cli-table');
var Cvss = require('cvss');

module.exports = function (err, data, pkgPath) {

Expand Down
1 change: 1 addition & 0 deletions lib/index.js
Expand Up @@ -3,6 +3,7 @@
var Formatters = require('./formatters');

var getFormatter = function (name) {

if (Object.keys(Formatters).indexOf(name) !== -1) {
return Formatters[name];
}
Expand Down

0 comments on commit c41e59d

Please sign in to comment.