Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
aoehmichen committed Nov 23, 2017
2 parents 5204dac + 3541531 commit 6de685d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/jobExecutorPython.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ JobExecutorPython.prototype._preExecution = function() {
//Wait for all files to be transferred
Promise.all(file_transfer_promises).then(function(__unused__ok_array) {
//Create output directory if doesnt exists
if (fs.existsSync(path.join(_this._tmpDirectory, 'output')) === false) {
fs.mkdirSync(path.join(_this._tmpDirectory, 'output'));
if (fs.existsSync(path.join(_this._tmpDirectory, 'input', 'output')) === false) {
fs.mkdirSync(path.join(_this._tmpDirectory, 'input', 'output'));
}
resolve(true); // All good
}, function(error) {
Expand Down
4 changes: 2 additions & 2 deletions src/jobExecutorR.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ JobExecutorR.prototype._preExecution = function() {
//Wait for all files to be transferred
Promise.all(file_transfer_promises).then(function(__unused__ok_array) {
//Create output directory if doesnt exists
if (fs.existsSync(path.join(_this._tmpDirectory, 'output')) === false) {
fs.mkdirSync(path.join(_this._tmpDirectory, 'output'));
if (fs.existsSync(path.join(_this._tmpDirectory, 'input', 'output')) === false) {
fs.mkdirSync(path.join(_this._tmpDirectory, 'input', 'output'));
}
resolve(true); // All good
}, function(error) {
Expand Down

0 comments on commit 6de685d

Please sign in to comment.