better named tests and log local-docker params
parent
678b6a9e7a
commit
4f2e9040ed
|
|
@ -4661,6 +4661,25 @@ exports.LfsHashing = LfsHashing;
|
|||
|
||||
"use strict";
|
||||
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
|
|
@ -4674,6 +4693,7 @@ const build_parameters_1 = __importDefault(__nccwpck_require__(80787));
|
|||
const cloud_runner_options_1 = __importDefault(__nccwpck_require__(96552));
|
||||
// import CloudRunner from '../cloud-runner';
|
||||
// import ImageEnvironmentFactory from '../../image-environment-factory';
|
||||
const core = __importStar(__nccwpck_require__(42186));
|
||||
class TaskParameterSerializer {
|
||||
static readBuildEnvironmentVariables(buildParameters) {
|
||||
return [
|
||||
|
|
@ -4697,6 +4717,9 @@ class TaskParameterSerializer {
|
|||
.map((x) => {
|
||||
x.name = __1.Input.ToEnvVarFormat(x.name);
|
||||
x.value = `${x.value}`;
|
||||
if (Number.parseInt(x.name) !== undefined) {
|
||||
core.info(`[ERROR] found a number in task param serializer`);
|
||||
}
|
||||
return x;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -9,6 +9,7 @@ import CloudRunnerOptions from '../cloud-runner-options';
|
|||
|
||||
// import CloudRunner from '../cloud-runner';
|
||||
// import ImageEnvironmentFactory from '../../image-environment-factory';
|
||||
import * as core from '@actions/core';
|
||||
|
||||
export class TaskParameterSerializer {
|
||||
static readonly blocked = new Set(['0', 'length', 'prototype', '', 'unityVersion']);
|
||||
|
|
@ -35,6 +36,10 @@ export class TaskParameterSerializer {
|
|||
x.name = Input.ToEnvVarFormat(x.name);
|
||||
x.value = `${x.value}`;
|
||||
|
||||
if (Number.parseInt(x.name) !== undefined) {
|
||||
core.info(`[ERROR] found a number in task param serializer`);
|
||||
}
|
||||
|
||||
return x;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue