Skip to content

Commit

Permalink
[gulp-util/PluginError] use plugin-error directly
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Dec 28, 2017
1 parent 357ab98 commit 154180d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"gulpplugin"
],
"dependencies": {
"gulp-util": "^3.0.0",
"lodash": "^4.12.0",
"minimatch": "^3.0.3",
"plugin-error": "^0.1.2",
"rcloader": "^0.2.2",
"through2": "^2.0.0",
"vinyl": "^2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/fileIgnored.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var dirname = require('path').dirname;
var join = require('path').join;
var sep = require('path').sep;
var RcLoader = require('rcloader');
var PluginError = require('gulp-util').PluginError;
var PluginError = require('plugin-error');

var ignoreLoader = new RcLoader('.jshintignore', {}, {
loader: function (path) {
Expand Down
2 changes: 1 addition & 1 deletion src/lint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var path = require('path');
var PluginError = require('gulp-util').PluginError;
var PluginError = require('plugin-error');
var RcLoader = require('rcloader');
var jshintcli = require('jshint/src/cli');
var minimatch = require('minimatch');
Expand Down
2 changes: 1 addition & 1 deletion src/reporters/fail.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var path = require('path');
var stream = require('../stream');
var PluginError = require('gulp-util').PluginError;
var PluginError = require('plugin-error');
var reduce = require('lodash/reduce');

module.exports = function (opts) {
Expand Down
2 changes: 1 addition & 1 deletion src/reporters/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var PluginError = require('gulp-util').PluginError;
var PluginError = require('plugin-error');
var stream = require('../stream');
var defaults = require('lodash/defaults');

Expand Down
2 changes: 1 addition & 1 deletion test/specs/linting.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var Fixture = require('../util').Fixture;
var PluginError = require('gulp-util').PluginError;
var PluginError = require('plugin-error');
var jshint = require('../../src');

describe('linting', function () {
Expand Down

0 comments on commit 154180d

Please sign in to comment.