Cleanup
parent
735048d9d9
commit
1a73fa7b51
|
|
@ -2541,10 +2541,12 @@ class TaskParameterSerializer {
|
||||||
static readBuildParameters(array) {
|
static readBuildParameters(array) {
|
||||||
const keys = Object.keys(cloud_runner_state_1.CloudRunnerState.buildParams);
|
const keys = Object.keys(cloud_runner_state_1.CloudRunnerState.buildParams);
|
||||||
for (const element of keys) {
|
for (const element of keys) {
|
||||||
array.push({
|
array.push(
|
||||||
name: element,
|
//{
|
||||||
value: `${cloud_runner_state_1.CloudRunnerState.buildParams[element]}`,
|
// name: element,
|
||||||
}, {
|
// value: `${CloudRunnerState.buildParams[element]}`,
|
||||||
|
//},
|
||||||
|
{
|
||||||
name: element
|
name: element
|
||||||
.replace(/([A-Z])/g, ' $1')
|
.replace(/([A-Z])/g, ' $1')
|
||||||
.trim()
|
.trim()
|
||||||
|
|
@ -2563,10 +2565,12 @@ class TaskParameterSerializer {
|
||||||
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') {
|
if (typeof __1.Input[element] !== 'function') {
|
||||||
array.push({
|
array.push(
|
||||||
name: element,
|
//{
|
||||||
value: `${__1.Input[element]}`,
|
// name: element,
|
||||||
}, {
|
// value: `${Input[element]}`,
|
||||||
|
//},
|
||||||
|
{
|
||||||
name: element
|
name: element
|
||||||
.replace(/([A-Z])/g, ' $1')
|
.replace(/([A-Z])/g, ' $1')
|
||||||
.trim()
|
.trim()
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -37,10 +37,10 @@ export class TaskParameterSerializer {
|
||||||
const keys = Object.keys(CloudRunnerState.buildParams);
|
const keys = Object.keys(CloudRunnerState.buildParams);
|
||||||
for (const element of keys) {
|
for (const element of keys) {
|
||||||
array.push(
|
array.push(
|
||||||
{
|
//{
|
||||||
name: element,
|
// name: element,
|
||||||
value: `${CloudRunnerState.buildParams[element]}`,
|
// value: `${CloudRunnerState.buildParams[element]}`,
|
||||||
},
|
//},
|
||||||
{
|
{
|
||||||
name: element
|
name: element
|
||||||
.replace(/([A-Z])/g, ' $1')
|
.replace(/([A-Z])/g, ' $1')
|
||||||
|
|
@ -66,10 +66,10 @@ export class TaskParameterSerializer {
|
||||||
for (const element of input) {
|
for (const element of input) {
|
||||||
if (typeof Input[element] !== 'function') {
|
if (typeof Input[element] !== 'function') {
|
||||||
array.push(
|
array.push(
|
||||||
{
|
//{
|
||||||
name: element,
|
// name: element,
|
||||||
value: `${Input[element]}`,
|
// value: `${Input[element]}`,
|
||||||
},
|
//},
|
||||||
{
|
{
|
||||||
name: element
|
name: element
|
||||||
.replace(/([A-Z])/g, ' $1')
|
.replace(/([A-Z])/g, ' $1')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue