Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Code refactoring for gutil.PluginError #75

Merged
merged 8 commits into from
Dec 21, 2014
Merged

Code refactoring for gutil.PluginError #75

merged 8 commits into from
Dec 21, 2014

Conversation

shinnn
Copy link
Contributor

@shinnn shinnn commented Dec 20, 2014

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling e400cc6 on shinnn:master into fe89b09 on gulpjs:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling ca45e5c on shinnn:master into fe89b09 on gulpjs:master.

@yocontra
Copy link
Member

Just to let you know, this module will be deprecated when gulp 4 comes out. We will instead encourage people to use small modules, for example gutil.PluginError is being replaced by a module called BetterError. Most of gulp-util is just pointers to other modules at this point, once everything is done being broken out the README will instead point to these other modules and recommend that people don't use gulp-util. Making a kitchen sink module was a really bad idea.

That being said, thanks for the PR it still fixes a lot of problems.

🍻

var self = this;

properties = properties
.map(function(prop) { return '\n ' + prop + ': ' + self[prop]; })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you space this out to multiple lines and name the anonymous functions (for clarity)? Not a fan of one liner functions anymore

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling fe89b09 on shinnn:master into fe89b09 on gulpjs:master.

* add .jshintrc
* quicken CI build (ref: http://goo.gl/m6glri)
* remove .npmignore
Probably it fixes this issue:
#69
* introduce shinnn/istanbul-coveralls
* let JSHint work correctly
* remove mocha’s —reporter option
  * Mocha uses spec reporter by default.
* remove unused variables
* use .containEql method instead of .indexOf
* remove unnecessary trailing slashes
* _.filter -> array-differ
* _.uniq -> array-uniq
* _.defaults -> object-assign
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 272993a on shinnn:master into fe89b09 on gulpjs:master.

yocontra pushed a commit that referenced this pull request Dec 21, 2014
Code refactoring for gutil.PluginError
@yocontra yocontra merged commit ad15cd6 into gulpjs:master Dec 21, 2014
@shinnn
Copy link
Contributor Author

shinnn commented Dec 21, 2014

Making a kitchen sink module was a really bad idea

I really agree with you. I'm looking forward to gulp 4 :)
Thanks.

@shinnn
Copy link
Contributor Author

shinnn commented Jan 6, 2015

@contra Could you release a new patch-updated version? Although this module will be depreceted, it's worth doing that for the present.

@yocontra
Copy link
Member

yocontra commented Jan 6, 2015

@shinnn 3.0.2

@shinnn
Copy link
Contributor Author

shinnn commented Jan 6, 2015

@contra Thanks!

@shinnn shinnn mentioned this pull request Jun 25, 2015
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Depend on 1.0.8 of dateformat
3 participants