Skip to content

Commit fca571f

Browse files
committed
sync
1 parent 1af5985 commit fca571f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

godot-builder/src/godot-builder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ console.log(`${colors.GREEN}Building binaries...${colors.CLEAR}`)
5757
var settings = loadSettings(`${process.cwd()}/${constants.SETTINGS_FILE}`)
5858

5959
if(settings.godot_command === undefined) scriptError(`Must configure path to Godot executable`)
60-
if(!(settings['jobs'] instanceof Array)) scriptError(`No Jobs defined.`)
60+
if(!(settings.jobs instanceof Array)) scriptError(`No Jobs defined.`)
6161

62-
settings['jobs'].forEach((job:Job, IDX:number) => {
62+
settings.jobs.forEach((job:Job, IDX:number) => {
6363
if(job.preset === undefined || job.path === undefined)
6464
scriptError(`Job ${IDX+1} of ${settings['jobs'].length} incorrect format.`)
6565
execSync(`${settings.godot_command} --export-release ${job.preset} ${job.path}`)

0 commit comments

Comments
 (0)