Skip to content

Commit e383a2a

Browse files
Merge pull request #1163 from DustinCampbell/fix-assets
Asset generator should not offer to update tasks.json if there are build tasks
2 parents 427da0c + 263f61a commit e383a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function getBuildOperations(tasksJsonPath: string) {
397397

398398
let buildTasks = getBuildTasks(tasksConfiguration);
399399

400-
resolve({ updateTasksJson: (buildTasks.length > 0) });
400+
resolve({ updateTasksJson: buildTasks.length === 0 });
401401
});
402402
}
403403
else {

0 commit comments

Comments
 (0)