fix
parent
2c85ced586
commit
530604be38
|
|
@ -2581,7 +2581,7 @@ class TaskParameterSerializer {
|
||||||
static readInput(array) {
|
static readInput(array) {
|
||||||
const input = Object.getOwnPropertyNames(__1.Input);
|
const input = Object.getOwnPropertyNames(__1.Input);
|
||||||
for (const element of 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({
|
array.push({
|
||||||
name: element,
|
name: element,
|
||||||
value: `${__1.Input[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 Input from '../input';
|
||||||
import { CloudRunnerStatics } from './cloud-runner-statics';
|
import { CloudRunnerStatics } from './cloud-runner-statics';
|
||||||
import { TaskParameterSerializer } from './services/task-parameter-serializer';
|
import { TaskParameterSerializer } from './services/task-parameter-serializer';
|
||||||
|
import UnityVersioning from '../unity-versioning';
|
||||||
|
|
||||||
describe('Cloud Runner', () => {
|
describe('Cloud Runner', () => {
|
||||||
it('responds', () => {});
|
it('responds', () => {});
|
||||||
|
|
@ -13,6 +14,7 @@ describe('Cloud Runner', () => {
|
||||||
Input.cliOptions = {
|
Input.cliOptions = {
|
||||||
versioning: 'None',
|
versioning: 'None',
|
||||||
projectPath: 'test-project',
|
projectPath: 'test-project',
|
||||||
|
unityVersion: UnityVersioning.read('test-project'),
|
||||||
customJob: `
|
customJob: `
|
||||||
- name: 'step 1'
|
- name: 'step 1'
|
||||||
image: 'alpine'
|
image: 'alpine'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue