Make checkThatExecutableExists backwards compatible

This commit is contained in:
Jamie Chard
2015-11-12 15:56:29 +11:00
parent 14d1ec38d1
commit 907be00fdc
+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. " +