mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-11 04:41:38 +00:00
fix: bash
This commit is contained in:
@@ -85,11 +85,11 @@ test('all arguments', () => {
|
||||
'-F',
|
||||
'test2',
|
||||
'-g',
|
||||
'--ga',
|
||||
'--gcovArgs',
|
||||
'-v',
|
||||
'--gi',
|
||||
'--gcovIgnore',
|
||||
'*.fake',
|
||||
'--gI',
|
||||
'--gcovInclude',
|
||||
'real_file',
|
||||
'-B',
|
||||
'thomasrockhu/test',
|
||||
|
||||
@@ -114,13 +114,13 @@ const buildExec = () => {
|
||||
execArgs.push('-g');
|
||||
}
|
||||
if (gcovArgs) {
|
||||
execArgs.push('--ga', `${gcovArgs}`);
|
||||
execArgs.push('--gcovArgs', `${gcovArgs}`);
|
||||
}
|
||||
if (gcovIgnore) {
|
||||
execArgs.push('--gi', `${gcovIgnore}`);
|
||||
execArgs.push('--gcovIgnore', `${gcovIgnore}`);
|
||||
}
|
||||
if (gcovInclude) {
|
||||
execArgs.push('--gI', `${gcovInclude}`);
|
||||
execArgs.push('--gcovInclude', `${gcovInclude}`);
|
||||
}
|
||||
|
||||
if (overrideBranch) {
|
||||
|
||||
@@ -4,7 +4,7 @@ import * as path from 'path';
|
||||
|
||||
import * as core from '@actions/core';
|
||||
import * as openpgp from 'openpgp';
|
||||
import * as fetch from 'node-fetch';
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
import {
|
||||
getBaseUrl,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as core from '@actions/core';
|
||||
import * as fetch from 'node-fetch';
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
const versionInfo = async (platform: string, version?: string) => {
|
||||
if (version) {
|
||||
|
||||
Reference in New Issue
Block a user