Skip to content

Commit 741c7a8

Browse files
authored
Merge pull request #45 from GitHubSecurityLab/warn1
Get rid of warning annotations
2 parents 37c927c + ed1495a commit 741c7a8

File tree

6 files changed

+26
-16
lines changed

6 files changed

+26
-16
lines changed

advisor/package-lock.json

Lines changed: 7 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

advisor/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"dependencies": {
1313
"@actions/core": "^1.10.1",
1414
"@actions/github": "^6.0.0",
15-
"@vercel/ncc": "^0.38.1",
1615
"adm-zip": "^0.5.14"
16+
},
17+
"devDependencies": {
18+
"@vercel/ncc": "^0.38.4"
1719
}
1820
}

monitor/dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121878,7 +121878,8 @@ async function run() {
121878121878
}
121879121879
})
121880121880
command.stderr.on('data', output => {
121881-
core.warning(output.toString())
121881+
if (debug)
121882+
core.warning(output.toString())
121882121883
})
121883121884
command.on('exit', code => {
121884121885
if (code !== 0) {

monitor/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ async function run() {
136136
}
137137
})
138138
command.stderr.on('data', output => {
139-
core.warning(output.toString())
139+
if (debug)
140+
core.warning(output.toString())
140141
})
141142
command.on('exit', code => {
142143
if (code !== 0) {

monitor/package-lock.json

Lines changed: 8 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

monitor/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"license": "MIT",
1212
"dependencies": {
1313
"@actions/artifact": "^2.1.8",
14-
"@actions/core": "^1.10.1",
15-
"@vercel/ncc": "^0.38.1"
14+
"@actions/core": "^1.10.1"
15+
},
16+
"devDependencies": {
17+
"@vercel/ncc": "^0.38.4"
1618
}
1719
}

0 commit comments

Comments
 (0)