Make checkThatExecutableExists backwards compatible
This commit is contained in:
+2
-2
@@ -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. " +
|
||||
|
||||
Reference in New Issue
Block a user