Skip to content

Commit 7fdfc4b

Browse files
fix gh bug 156 (#160)
1 parent e6a5051 commit 7fdfc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pqTestConnector/PqTestTaskUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function formatArguments(args: string[]): string {
9999

100100
for (const oneArg of args) {
101101
// pre formatting
102-
const isCurrentArgumentParameter: boolean = oneArg.indexOf("--") === 0;
102+
const isCurrentArgumentParameter: boolean = oneArg.indexOf("--") === 0 || oneArg.indexOf("-") === 0;
103103

104104
const shouldQuoted: boolean = isLastArgParameter && !isCurrentArgumentParameter;
105105
const shouldBreakLine: boolean = isCurrentArgumentParameter;

0 commit comments

Comments
 (0)