Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix bug with latest Mac OS JSC #24

Merged
merged 1 commit into from

2 participants

@primalmotion

Hi,

With latest version of Mac OS (10.7.2 beta build 11C55), it seems there is problem with:

UTIL.has(options, "includeBuildDependencies")

it fails if options is undefined. This patch simply add a check on options. It seems to works smooth now

@kriskowal kriskowal merged commit f41a28c into 280north:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 12, 2011
  1. Fix bug with latest Mac OS JSC

    Antoine Mercadal authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  packages/narwhal-lib/lib/narwhal/packages.js
View
2  packages/narwhal-lib/lib/narwhal/packages.js
@@ -549,7 +549,7 @@ exports.updateUsingCatalog = function(options, usingCatalog, path, id, packageDa
usingCatalog[id]["packages"][pair[0]] = exports.normalizePackageDescriptor(pair[1]);
});
}
- if(UTIL.has(options, "includeBuildDependencies") &&
+ if(options && UTIL.has(options, "includeBuildDependencies") &&
options.includeBuildDependencies &&
UTIL.has(packageDatum, "build") &&
UTIL.has(packageDatum.build, "using")) {
Something went wrong with that request. Please try again.