Skip to content

Commit b9e5403

Browse files
fix: buildExec test
1 parent e0c480e commit b9e5403

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

dist/index.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22175,7 +22175,7 @@ const buildExec = () => {
2217522175
});
2217622176
}
2217722177
if (fullReport) {
22178-
execArgs.push('-full', `${fullReport}`);
22178+
execArgs.push('--full', `${fullReport}`);
2217922179
}
2218022180
if (flags) {
2218122181
flags.split(',').map((f) => f.trim()).forEach((f) => {
@@ -22186,22 +22186,22 @@ const buildExec = () => {
2218622186
execArgs.push('-g');
2218722187
}
2218822188
if (gcovArgs) {
22189-
execArgs.push('-gcovArgs', `${gcovArgs}`);
22189+
execArgs.push('--ga', `${gcovArgs}`);
2219022190
}
2219122191
if (gcovIgnore) {
22192-
execArgs.push('-gcovIgnore', `${gcovIgnore}`);
22192+
execArgs.push('--gi', `${gcovIgnore}`);
2219322193
}
2219422194
if (gcovInclude) {
22195-
execArgs.push('-gcovInclude', `${gcovInclude}`);
22195+
execArgs.push('--gI', `${gcovInclude}`);
2219622196
}
2219722197
if (gcovExecutable) {
22198-
execArgs.push('-gcovExecutable', `${gcovExecutable}`);
22198+
execArgs.push('--gx', `${gcovExecutable}`);
2219922199
}
2220022200
if (networkFilter) {
22201-
execArgs.push('-networkFilter', `${networkFilter}`);
22201+
execArgs.push('-i', `${networkFilter}`);
2220222202
}
2220322203
if (networkPrefix) {
22204-
execArgs.push('-networkPrefix', `${networkPrefix}`);
22204+
execArgs.push('-k', `${networkPrefix}`);
2220522205
}
2220622206
if (overrideBranch) {
2220722207
execArgs.push('-B', `${overrideBranch}`);
@@ -22235,10 +22235,10 @@ const buildExec = () => {
2223522235
execArgs.push('-r', `${slug}`);
2223622236
}
2223722237
if (swift) {
22238-
execArgs.push('-xs');
22238+
execArgs.push('--xs');
2223922239
}
2224022240
if (swift && swiftProject) {
22241-
execArgs.push('-xsp', `${swiftProject}`);
22241+
execArgs.push('--xsp', `${swiftProject}`);
2224222242
}
2224322243
if (upstream) {
2224422244
execArgs.push('-U', `${upstream}`);
@@ -22250,8 +22250,8 @@ const buildExec = () => {
2225022250
execArgs.push('-v');
2225122251
}
2225222252
if (xcode && xcodeArchivePath) {
22253-
execArgs.push('-xc');
22254-
execArgs.push('-xp', `${xcodeArchivePath}`);
22253+
execArgs.push('--xc');
22254+
execArgs.push('--xp', `${xcodeArchivePath}`);
2225522255
}
2225622256
if (uploaderVersion == '') {
2225722257
uploaderVersion = 'latest';

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.

src/buildExec.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ test('all arguments', () => {
8787
'dir1/coverage.xml',
8888
'-f',
8989
'dir2/coverage.xml',
90-
'-full',
90+
'--full',
9191
'oldDir/oldReport.json',
9292
'-F',
9393
'test',

0 commit comments

Comments
 (0)