Skip to content

Commit

Permalink
Fix copy sequence array
Browse files Browse the repository at this point in the history
  • Loading branch information
ludohenin committed Dec 17, 2015
1 parent e77f379 commit ecdbd46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/utils/tasks_tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function task(taskname: string, option?: string) {

export function runSequence(...sequence: any[]) {
let tasks = [];
let _sequence = sequence;
let _sequence = sequence.slice(0);
sequence.pop();

scanDir(TASKS_PATH, taskname => tasks.push(taskname));
Expand Down

0 comments on commit ecdbd46

Please sign in to comment.