pull/310/head
Frostebite 2021-12-30 21:48:18 +00:00
parent 2c85ced586
commit 530604be38
3 changed files with 4 additions and 2 deletions

2
dist/index.js vendored
View File

@ -2581,7 +2581,7 @@ class TaskParameterSerializer {
static readInput(array) {
const input = Object.getOwnPropertyNames(__1.Input);
for (const element of input) {
if (typeof __1.Input[element] !== 'function' && array.filter((x) => x.name === element || x.n).length === 0) {
if (typeof __1.Input[element] !== 'function' && array.filter((x) => x.name === element).length === 0) {
array.push({
name: element,
value: `${__1.Input[element]}`,

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,7 @@ import CloudRunner from './cloud-runner';
import Input from '../input';
import { CloudRunnerStatics } from './cloud-runner-statics';
import { TaskParameterSerializer } from './services/task-parameter-serializer';
import UnityVersioning from '../unity-versioning';
describe('Cloud Runner', () => {
it('responds', () => {});
@ -13,6 +14,7 @@ describe('Cloud Runner', () => {
Input.cliOptions = {
versioning: 'None',
projectPath: 'test-project',
unityVersion: UnityVersioning.read('test-project'),
customJob: `
- name: 'step 1'
image: 'alpine'