File tree Expand file tree Collapse file tree
tasks/build/tasks/build-configs/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import * as http from 'http';
33import { RequestHandler } from 'express-serve-static-core' ;
44import Logger from './utils/logger' ;
55import Configuration from './configuration/configuration' ;
6- import { spawn } from 'child_process' ;
76import { exec } from 'child_process' ;
87import * as path from "path" ;
98import * as connectLiveReload from 'connect-livereload' ;
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export default class BuildConfigsFilesTask extends TaskBase {
6060 var regex = / S y s t e m J S \. c o n f i g \( ( { [ \s \S . ] * ?} ) \) / ;
6161 var json = content . match ( regex ) ;
6262 if ( json != null ) {
63- let jsonObj : { [ key : string ] : any } | undefined = undefined ;
63+ let jsonObj : any | undefined ;
6464 try {
6565 eval ( 'jsonObj = ' + json [ 1 ] ) ;
6666 if ( jsonObj != null ) {
You can’t perform that action at this time.
0 commit comments