Skip to content

Commit

Permalink
Fix some lint errors and update .eslint-ratchet-high-water-mark
Browse files Browse the repository at this point in the history
  • Loading branch information
abarciauskas-bgse committed Mar 30, 2018
1 parent 593157b commit dee9246
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .eslint-ratchet-high-water-mark
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1344
1338
6 changes: 4 additions & 2 deletions packages/integration-tests/bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ program
{ name: 'bucket-name', value: program.bucketName },
{ name: 'workflow', value: program.workflow },
{ name: 'input-file', value: program.inputFile }])) {
testRunner.testWorkflow(program.stackName, program.bucketName,
program.workflow, program.inputFile);
testRunner.testWorkflow(
program.stackName, program.bucketName,
program.workflow, program.inputFile
);
}
});

Expand Down
13 changes: 3 additions & 10 deletions packages/integration-tests/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Includes helper functions for replicating Step Function Workflows
* locally
*/

'use strict';

const path = require('path');
Expand Down Expand Up @@ -40,11 +41,7 @@ async function downloadCMA(version) {
* @returns {Promise.<Array>} an array of undefined values
*/
function copyCMAToTasks(workflow, src, cmaFolder) {
return Promise.all(
workflow.steps.map(
(step) => fs.copy(src, path.join(step.lambda, cmaFolder))
)
);
return Promise.all(workflow.steps.map((step) => fs.copy(src, path.join(step.lambda, cmaFolder))));
}

/**
Expand All @@ -55,11 +52,7 @@ function copyCMAToTasks(workflow, src, cmaFolder) {
* @returns {Promise.<Array>} an array of undefined values
*/
function deleteCMAFromTasks(workflow, cmaFolder) {
return Promise.all(
workflow.steps.map(
(step) => fs.remove(path.join(step.lambda, cmaFolder))
)
);
return Promise.all(workflow.steps.map((step) => fs.remove(path.join(step.lambda, cmaFolder))));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-tests/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ module.exports = {
loader: 'json'
}]
}
};
};

0 comments on commit dee9246

Please sign in to comment.