mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +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
|
||||
};
|
||||
|
||||
if (replace) {
|
||||
if (!replace) {
|
||||
options.exclusive = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user