Skip to content

Commit

Permalink
[fix] fix pkg undefined error when running jitsu with --noanalyze
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictarr committed Aug 23, 2011
1 parent f6d51a9 commit 2ece7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jitsu/package.js
Expand Up @@ -450,7 +450,7 @@ function tryAnalyze (target, dir, callback) {

if (!analyze) {
winston.info('skipping require-analyzer because ' + '--noanalyze'.magenta + ' option is set');
return callback(null, pkg);
return callback(null, target);
}

package.analyzeDependencies(target, dir, function (err, addedDeps, updates) {
Expand Down

0 comments on commit 2ece7f9

Please sign in to comment.