Skip to content

Commit e920d7c

Browse files
committed
fix lint
1 parent 45af319 commit e920d7c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/retry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//
99
// yarn prepack
1010
//
11-
import pRetry from 'p-retry'
11+
import pRetry, { AbortError } from 'p-retry'
1212
import { Transloadit, ApiError } from 'transloadit'
1313

1414
const transloadit = new Transloadit({
@@ -24,7 +24,7 @@ async function run() {
2424
} catch (err) {
2525
if (err instanceof ApiError && err.code === 'INVALID_SIGNATURE') {
2626
// This is an unrecoverable error, abort retry
27-
throw new pRetry.AbortError('INVALID_SIGNATURE')
27+
throw new AbortError('INVALID_SIGNATURE')
2828
}
2929
throw err
3030
}

src/apiTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { AssemblyInstructions, AssemblyInstructionsInput } from './alphalib/types/template.js'
22

3-
export { assemblyInstructionsSchema } from './alphalib/types/template.js';
3+
export { assemblyInstructionsSchema } from './alphalib/types/template.js'
44

55
export interface OptionalAuthParams {
66
auth?: { key?: string; expires?: string }

0 commit comments

Comments
 (0)