Skip to content

Commit 0c5383b

Browse files
chore: wip
1 parent b50a553 commit 0c5383b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ async function loadDynamoDBConfig() {
2020
}
2121

2222
// Export the config (wrapped in a promise)
23-
export const config = loadDynamoDBConfig()
23+
// eslint-disable-next-line antfu/no-top-level-await
24+
export const config = await loadDynamoDBConfig()

src/dynamodb.ts

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export const dynamoDb = {
8484
if (response.statusCode !== 200)
8585
return reject(new Error(`Failed to download DynamoDB Local: ${response.statusCode}`))
8686

87+
// @ts-expect-error: Ignoring type error due to external library incompatibility
8788
response.pipe(zlib.createUnzip()).pipe(tar.extract({ cwd: config.installPath })).on('finish', resolve).on('error', reject)
8889
}).on('error', reject)
8990
})

test/index.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line unicorn/prefer-node-protocol
21
import { describe, expect, it } from 'bun:test'
32

43
describe('should', () => {

0 commit comments

Comments
 (0)