Skip to content

Commit

Permalink
fix(file): set exclusive to true when replace is false
Browse files Browse the repository at this point in the history
closes #516
  • Loading branch information
ihadeed committed Sep 7, 2016
1 parent c76de34 commit 7910493
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 @@ -430,7 +430,7 @@ export class File {
create: true
};

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

Expand Down

0 comments on commit 7910493

Please sign in to comment.