Comparing version 1.13.3 to 1.13.4
## History | ||
- v1.13.4 August 28, 2012 | ||
- `balUtilModules` changes: | ||
- Failing to retrieve the path on `getGitPath`, `getNodePath` and `getNpmPath` will now result in an error | ||
- v1.13.3 August 28, 2012 | ||
@@ -4,0 +8,0 @@ - `balUtilModules` changes: |
@@ -204,3 +204,9 @@ // Generated by CoffeeScript 1.3.3 | ||
balUtilModules.cachedGitPath = gitPath; | ||
return next(err, gitPath); | ||
if (err) { | ||
return next(err); | ||
} | ||
if (!gitPath) { | ||
return next(new Error('Could not locate git binary')); | ||
} | ||
return next(null, gitPath); | ||
}); | ||
@@ -219,3 +225,9 @@ return this; | ||
balUtilModules.cachedNodePath = nodePath; | ||
return next(err, nodePath); | ||
if (err) { | ||
return next(err); | ||
} | ||
if (!nodePath) { | ||
return next(new Error('Could not locate node binary')); | ||
} | ||
return next(null, nodePath); | ||
}); | ||
@@ -234,3 +246,9 @@ return this; | ||
balUtilModules.cachedNpmPath = npmPath; | ||
return next(err, npmPath); | ||
if (err) { | ||
return next(err); | ||
} | ||
if (!npmPath) { | ||
return next(new Error('Could not locate npm binary')); | ||
} | ||
return next(null, npmPath); | ||
}); | ||
@@ -237,0 +255,0 @@ return this; |
{ | ||
"name": "bal-util", | ||
"version": "1.13.3", | ||
"version": "1.13.4", | ||
"description": "Common utility functions for Node.js used and maintained by Benjamin Lupton", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/balupton/bal-util", |
90129
2196