Skip to content

Commit a60c434

Browse files
committed
Fix inverted conditional
1 parent d49697a commit a60c434

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

analyze.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ module.exports = async function run() {
133133
core.info("Source/binary inputs glob not specified, skipping ZIP creation")
134134
}
135135

136-
if (!config.scanGlobs) {
136+
if (config.scanGlobs) {
137137
core.info("Adding scan files...")
138138
await attachScanFiles(config.scanGlobs, formData)
139139
} else {

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ module.exports = async function run() {
140140
core.info("Source/binary inputs glob not specified, skipping ZIP creation")
141141
}
142142

143-
if (!config.scanGlobs) {
143+
if (config.scanGlobs) {
144144
core.info("Adding scan files...")
145145
await attachScanFiles(config.scanGlobs, formData)
146146
} else {

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)