fix(file): fixes exclusive option (#459)

Exclusive means that the file will not be Overridden so it has to be set if replace is False.
This commit is contained in:
David Störcher 2016-08-19 15:07:32 +02:00 committed by Ibrahim Hadeed
parent 62bcd313e3
commit 14e41a31ef

View File

@ -619,7 +619,7 @@ export class File {
create: true
};
if (replace) {
if (!replace) {
options.exclusive = true;
}