Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a typo #16

Merged
merged 2 commits into from
Apr 1, 2016
Merged

Fix a typo #16

merged 2 commits into from
Apr 1, 2016

Conversation

amaechler
Copy link
Contributor

Ready for review.

@amaechler amaechler self-assigned this Mar 31, 2016
@@ -60,7 +60,7 @@ module.exports = function simpleJslint(options) {
}

if (!file.isBuffer()) {
var err = new gutil.PluginError(pluginName, "This plugin requires bufferred files", {});
var err = new gutil.PluginError(pluginName, "This plugin requires buffered files", {});

Choose a reason for hiding this comment

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

Perhaps we should include the name and path of the non-buffered file in this error message? It would have been easier to diagnose https://github.com/pandell/node-repo-init/pull/148 if this information had been included in the error.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@timphillips Great idea, let me add that.

@jgoz
Copy link
Contributor

jgoz commented Mar 31, 2016

👍 good change

@amaechler
Copy link
Contributor Author

@timphillips Addressed. Updated message shows:

[15:48:08] Error in plugin 'gulp-jslint-simple'
Message:
    This plugin requires buffered files (C:\Users\...\big.js).

@timphillips
Copy link

Thanks for the update. 👍 from me.

@jgoz
Copy link
Contributor

jgoz commented Mar 31, 2016

But seriously, who adds .js to a folder name?

@amaechler amaechler merged commit b3c994b into master Apr 1, 2016
@amaechler amaechler deleted the fix-typo branch April 1, 2016 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants