Skip to content

Commit

Permalink
Replace --force, removed in sarif-multitool 4.1.0
Browse files Browse the repository at this point in the history
The option was removed before the 4.1.0 release [1], unfortunately the
documentation wasn't updated until significantly later [2].

[1] microsoft/sarif-sdk#2625
[2] microsoft/sarif-sdk#2656
  • Loading branch information
airtower-luna committed Apr 22, 2023
1 parent f118715 commit 392c55c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ output="$(realpath "${INPUT_SARIF_FILE}")"
# must be in the action directory to use the npm packages installed there
cd "$(dirname ${0})"
npx "@microsoft/sarif-multitool" convert "${input}" \
--tool "${tool}" --output "${output}" --force
--tool "${tool}" --output "${output}" --log ForceOverwrite
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"url": "https://github.com/airtower-luna/convert-to-sarif.git"
},
"dependencies": {
"@microsoft/sarif-multitool": "^4.0.0"
"@microsoft/sarif-multitool": "^4.1.0"
}
}

0 comments on commit 392c55c

Please sign in to comment.