Skip to content

Commit 88beaf8

Browse files
committed
pass the --range-style to the Coana CLI for fixes
1 parent 3840c16 commit 88beaf8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/commands/fix/coana-fix.mts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ export async function coanaFix(
9898
tarHash,
9999
'--apply-fixes-to',
100100
...(isAll ? ['all'] : ghsas),
101+
...(fixConfig.rangeStyle
102+
? ['--range-style', fixConfig.rangeStyle]
103+
: []),
101104
...fixConfig.unknownFlags,
102105
],
103106
fixConfig.orgSlug,
@@ -115,6 +118,9 @@ export async function coanaFix(
115118
cwd,
116119
'--manifests-tar-hash',
117120
tarHash,
121+
...(fixConfig.rangeStyle
122+
? ['--range-style', fixConfig.rangeStyle]
123+
: []),
118124
...fixConfig.unknownFlags,
119125
],
120126
fixConfig.orgSlug,

0 commit comments

Comments
 (0)