Skip to content

Commit 2cd8e31

Browse files
Fix some lint errors and update .eslint-ratchet-high-water-mark
1 parent 47c28f5 commit 2cd8e31

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

.eslint-ratchet-high-water-mark

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1344
1+
1338

packages/integration-tests/bin/cli.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ program
4848
{ name: 'bucket-name', value: program.bucketName },
4949
{ name: 'workflow', value: program.workflow },
5050
{ name: 'input-file', value: program.inputFile }])) {
51-
testRunner.testWorkflow(program.stackName, program.bucketName,
52-
program.workflow, program.inputFile);
51+
testRunner.testWorkflow(
52+
program.stackName, program.bucketName,
53+
program.workflow, program.inputFile
54+
);
5355
}
5456
});
5557

packages/integration-tests/local.js

+3-10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Includes helper functions for replicating Step Function Workflows
33
* locally
44
*/
5+
56
'use strict';
67

78
const path = require('path');
@@ -40,11 +41,7 @@ async function downloadCMA(version) {
4041
* @returns {Promise.<Array>} an array of undefined values
4142
*/
4243
function copyCMAToTasks(workflow, src, cmaFolder) {
43-
return Promise.all(
44-
workflow.steps.map(
45-
(step) => fs.copy(src, path.join(step.lambda, cmaFolder))
46-
)
47-
);
44+
return Promise.all(workflow.steps.map((step) => fs.copy(src, path.join(step.lambda, cmaFolder))));
4845
}
4946

5047
/**
@@ -55,11 +52,7 @@ function copyCMAToTasks(workflow, src, cmaFolder) {
5552
* @returns {Promise.<Array>} an array of undefined values
5653
*/
5754
function deleteCMAFromTasks(workflow, cmaFolder) {
58-
return Promise.all(
59-
workflow.steps.map(
60-
(step) => fs.remove(path.join(step.lambda, cmaFolder))
61-
)
62-
);
55+
return Promise.all(workflow.steps.map((step) => fs.remove(path.join(step.lambda, cmaFolder))));
6356
}
6457

6558
/**

packages/integration-tests/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ module.exports = {
1919
loader: 'json'
2020
}]
2121
}
22-
};
22+
};

0 commit comments

Comments
 (0)