Skip to content

Commit

Permalink
Merge 0415b04 into e59a686
Browse files Browse the repository at this point in the history
  • Loading branch information
floydpink committed Oct 14, 2018
2 parents e59a686 + 0415b04 commit 792c89d
Show file tree
Hide file tree
Showing 6 changed files with 5,544 additions and 27 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
@@ -1,5 +1,7 @@
language: node_js
node_js:
- '0.10'
- 'v10'
- 'v9'
- 'v8'
after_script:
- npm run coveralls
4 changes: 2 additions & 2 deletions README.md
@@ -1,8 +1,8 @@
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url]

# gulp-coveralls
# gulp-coveralls-2

[Gulp](https://github.com/wearefractal/gulp) plugin to submit code coverage to [Coveralls](http://coveralls.io).
[Gulp](https://github.com/wearefractal/gulp) plugin to submit code coverage to [Coveralls](http://coveralls.io). (Forked of the unmaintained [gulp-coveralls](https://github.com/markdalgleish/gulp-coveralls) - thank you, [@markdalgleish](https://github.com/markdalgleish))

## Usage

Expand Down
6 changes: 3 additions & 3 deletions index.js
@@ -1,5 +1,5 @@
var through = require('through2'),
gutil = require('gulp-util'),
PluginError = require('plugin-error'),
coveralls = require('coveralls');

module.exports = function() {
Expand All @@ -8,7 +8,7 @@ module.exports = function() {

function handleError(done, err) {
if (err){
stream.emit('error', new gutil.PluginError('gulp-coveralls', err));
stream.emit('error', new PluginError('gulp-coveralls', err));
done();
}
}
Expand Down Expand Up @@ -40,7 +40,7 @@ module.exports = function() {
}

if (file.isStream()) {
this.emit('error', new gutil.PluginError('gulp-coveralls', 'Stream content is not supported'));
this.emit('error', new PluginError('gulp-coveralls', 'Stream content is not supported'));
return callback();
}

Expand Down

0 comments on commit 792c89d

Please sign in to comment.