Skip to content

Commit

Permalink
Merge pull request #423 from muno92/fix-420
Browse files Browse the repository at this point in the history
Fix --no-build option not working
  • Loading branch information
muno92 authored Nov 8, 2023
2 parents dc6a694 + b0b8753 commit 84ea3c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function run(): Promise<void> {
const solutionPath: string = core.getInput('solutionPath')
const outputPath = 'result.xml'

let command = `jb inspectcode --build --output=${outputPath} --absolute-paths ${solutionPath}`
let command = `jb inspectcode --output=${outputPath} --absolute-paths ${solutionPath}`

const include: string = core.getInput('include')
if (include) {
Expand Down Expand Up @@ -47,6 +47,8 @@ async function run(): Promise<void> {
const noBuild = core.getInput('noBuild') ?? ''
if (noBuild.toLowerCase() === 'true') {
command += ' --no-build'
} else {
command += ' --build'
}

const cachesHome = core.getInput('cachesHome') ?? ''
Expand Down

0 comments on commit 84ea3c1

Please sign in to comment.