Skip to content

Commit

Permalink
OPS: build fix
Browse files Browse the repository at this point in the history
Co-authored-by: Laszlo Hammerl <[email protected]>
  • Loading branch information
knagy and potato committed Jun 7, 2024
1 parent ec253ba commit 95ae13b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

name: Node JS ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
registry-url: 'https://registry.npmjs.org'
Expand Down
5 changes: 4 additions & 1 deletion spec/escher.tape.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ function runReverseSignRequestTape({ test, group }) {
timeDecorator({ timestamp: new Date(test.config.date).getTime() }, ({ args: [t] }) => {
const key = new Escher(test.config).authenticate(
test.expected.request,
createKeyDb([[test.config.accessKeyId, test.config.apiSecret], ['some_other_apikey', 'some_other_secret']])
createKeyDb([
[test.config.accessKeyId, test.config.apiSecret],
['some_other_apikey', 'some_other_secret']
])
);
t.equal(key, test.config.accessKeyId);
t.end();
Expand Down
7 changes: 1 addition & 6 deletions spec/get-test-cases.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ const { readFileSync } = require('fs');
module.exports = { getTestCases };

async function getTestCases(folder) {
return pipe(
filter(filterCases),
map(splitParts),
map(createTest),
groupBy(prop('method'))
)(await readdir(folder));
return pipe(filter(filterCases), map(splitParts), map(createTest), groupBy(prop('method')))(await readdir(folder));
}

function filterCases(path) {
Expand Down

0 comments on commit 95ae13b

Please sign in to comment.