Skip to content

Support quick adding of other output files#423

Merged
ascobie merged 11 commits into
masterfrom
feature/dynamic-task-output
Jun 8, 2017
Merged

Support quick adding of other output files#423
ascobie merged 11 commits into
masterfrom
feature/dynamic-task-output

Conversation

@ascobie
Copy link
Copy Markdown
Member

@ascobie ascobie commented Jun 1, 2017

fix #184


it("current task id set", () => {
const anyComponent = component as any;
anyComponent = component as any;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't need this one

let anyComponent: any;

beforeEach(() => {
anyComponent = component as any;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe move this to the top beforeEach to have it once only

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i did think of that at the time, got distracted and forgot.

*/
private _canAddFileToMap(file: File) {
return !file.isDirectory &&
!this._fileMap[file.name] &&
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do !(file.name in this._fileMap) here

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, will do.

@ascobie ascobie merged commit a3203cb into master Jun 8, 2017
@ascobie ascobie deleted the feature/dynamic-task-output branch June 8, 2017 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Taskouput support quick adding other files

3 participants