Skip to content

Commit

Permalink
fix null == check when resolving module
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 12, 2014
1 parent 0ddea6a commit 64badb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/require.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function require(path, parent, orig) {
var resolved = require.resolve(path);

// lookup failed
if (null === resolved) {
if (null == resolved) {
throwError()
return
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-component",
"version": "0.1.6",
"version": "0.1.7",
"description": "Component build plugin for Gulp",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 64badb9

Please sign in to comment.