Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 56ab1de

Browse files
committed
chore: code lint
1 parent 4da9ae7 commit 56ab1de

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/getImports/packageInfo.js

+9-5
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,13 @@ export async function getPackageInfo(pkg) {
8282
}
8383

8484
export default function lookupVulns(key, pkg) {
85-
return debouncePromise(key, (resolve, reject) => {
86-
test(pkg)
87-
.then(resolve)
88-
.catch(reject);
89-
}, 2000);
85+
return debouncePromise(
86+
key,
87+
(resolve, reject) => {
88+
test(pkg)
89+
.then(resolve)
90+
.catch(reject);
91+
},
92+
2000
93+
);
9094
}

0 commit comments

Comments
 (0)