Skip to content

Commit 4d3dbe4

Browse files
committed
Update index.mjs
1 parent 61feca3 commit 4d3dbe4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/plugins/licenses/index.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ export default async function({login, q, imports, data, graphql, queries, accoun
5757
//Spawn licensed process
5858
console.debug(`metrics/compute/${login}/plugins > licenses > running licensed`)
5959
try {
60-
console.log(imports.run("npm list --production --all", {cwd:path}))
60+
console.log(await imports.run("npm list --production --all", {cwd:path}))
6161
}
6262
catch (error) {
6363
console.log(error)
6464
}
6565
try {
66-
console.log(imports.run("licensed list --format=json --licenses", {cwd:path}))
66+
console.log(await imports.run("licensed list --format=json --licenses", {cwd:path}))
6767
}
6868
catch (error) {
6969
console.log(error)

0 commit comments

Comments
 (0)