Skip to content

Commit

Permalink
fix(file): fixes exclusive option (#459)
Browse files Browse the repository at this point in the history
Exclusive means that the file will not be Overridden so it has to be set if replace is False.
  • Loading branch information
DrGanmon authored and ihadeed committed Aug 19, 2016
1 parent 62bcd31 commit 14e41a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ export class File {
create: true
};

if (replace) {
if (!replace) {
options.exclusive = true;
}

Expand Down

0 comments on commit 14e41a3

Please sign in to comment.