sindresorhus / gulp-autoprefixer

Prefix CSS
MIT License
692 stars 50 forks source link

Zero in output #43

Closed pepelsbey closed 9 years ago

pepelsbey commented 9 years ago

Steps to reproduce

$ node -v
v4.0.0
$ npm i gulp gulp-autoprefixer

gulpfile.js

var gulp = require('gulp'),
    autoprefixer = require('gulp-autoprefixer');

gulp.task('default', function() {
    console.log('WAT')
});

Actual behaviour

$ gulp
0
[00:19:17] Using gulpfile ~/Desktop/gulpfile.js
[00:19:17] Starting 'default'...
WAT
[00:19:17] Finished 'default' after 132 μs

Expected behaviour

The same, but without 0

According to @ai, this couldn’t be autoprefixer’s fault because all console logs are disabled by eslint.

sindresorhus commented 9 years ago

Can't reproduce. There's no console logging in this task that could be 0.

/private/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T/tmp-N8IHH
❯ node -v
v4.0.0

/private/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T/tmp-N8IHH
❯ gulp
[11:05:54] Using gulpfile /private/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T/tmp-N8IHH/gulpfile.js
[11:05:54] Starting 'default'...
WAT
[11:05:54] Finished 'default' after 128 μs