mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-25 04:16:09 +08:00
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:
parent
62bcd313e3
commit
14e41a31ef
@ -619,7 +619,7 @@ export class File {
|
|||||||
create: true
|
create: true
|
||||||
};
|
};
|
||||||
|
|
||||||
if (replace) {
|
if (!replace) {
|
||||||
options.exclusive = true;
|
options.exclusive = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user