fix: bash

This commit is contained in:
Tom Hu
2022-04-04 16:47:21 -04:00
parent d8cf6802a8
commit 351baf62fa
9 changed files with 11521 additions and 1674 deletions

View File

@@ -85,11 +85,11 @@ test('all arguments', () => {
'-F',
'test2',
'-g',
'--ga',
'--gcovArgs',
'-v',
'--gi',
'--gcovIgnore',
'*.fake',
'--gI',
'--gcovInclude',
'real_file',
'-B',
'thomasrockhu/test',

View File

@@ -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) {

View File

@@ -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,

View File

@@ -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) {