fix
parent
2c85ced586
commit
530604be38
|
|
@ -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]}`,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue