Merge pull request #149 from jamiechard/master

Make checkThatExecutableExists backwards compatible
This commit is contained in:
Jared Allard
2015-11-12 14:35:49 -08:00
+2 -2
View File
@@ -248,8 +248,8 @@ exports.compile = function (options, complete) {
*/
function checkThatExecutableExists (next) {
fs.access(nodeCompiler.releasePath, function (err) {
if (err) {
fs.exists(nodeCompiler.releasePath, function (exists) {
if (!exists) {
_log("error",
"The release executable has not been generated. " +
"This indicates a failure in the build process. " +