Skip to content

Commit 094681f

Browse files
committed
workflow: fix sync script
1 parent cd23858 commit 094681f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/syncDeps.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const getRemoteVersion = async (pkg) => {
2424
}
2525
let res
2626
try {
27-
res = await request(`http://registry.npmjs.org/${pkg}/latest`)
27+
res = await request(`http://registry.npmjs.org/${pkg}/latest`, { json: true })
2828
} catch (e) {
2929
return
3030
}

0 commit comments

Comments
 (0)