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

Commit

Permalink
Update vinyl to 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilsson committed Jul 12, 2017
1 parent 60829c9 commit ed3f86a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"eslint": "^4.0.0",
"eslint-config-jwilsson": "^2.0.1",
"nyc": "^11.0.1",
"vinyl": "^1.1.1"
"vinyl": "^2.1.0"
},
"scripts": {
"coverage": "nyc report --reporter=text-lcov | coveralls",
Expand Down
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

const PluginError = require('plugin-error');
const Readable = require('stream').Readable;
const debugFinder = require('./');
const Stream = require('stream');
const File = require('vinyl');
const path = require('path');
const test = require('ava');
Expand Down Expand Up @@ -43,7 +43,7 @@ test('ignores streams', (t) => {
t.throws(() => {
stream.write(new File({
base: __dirname,
contents: new Stream(),
contents: new Readable(),
path: path.join(__dirname, '/file.js'),
}));
}, PluginError);
Expand Down

0 comments on commit ed3f86a

Please sign in to comment.