Skip to content

Commit

Permalink
Merge pull request #11 from thvd/patch-1
Browse files Browse the repository at this point in the history
Fixes ReferenceError: resolve is not defined
  • Loading branch information
rutlabaga authored Sep 30, 2017
2 parents 89f4c67 + 5013afe commit 7f0971f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_vlocity/datapacksjob.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ DataPacksJob.prototype.runJobWithInfo = function(jobInfo, action, onSuccess, onE
self.vlocity.datapacksbuilder.initializeImportStatus(jobInfo.projectPath + '/' + jobInfo.expansionPath, jobInfo.manifest, jobInfo);
}

self.vlocity.datapacksutils.runApex(jobInfo.projectPath, jobInfo.preJobApex[action], jobInfo.preDeployDataSummary).then(resolve);
return self.vlocity.datapacksutils.runApex(jobInfo.projectPath, jobInfo.preJobApex[action], jobInfo.preDeployDataSummary);
} else {
return Promise.resolve();
}
Expand Down

0 comments on commit 7f0971f

Please sign in to comment.