mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
parent
156328c9de
commit
9bd8997a31
@ -679,8 +679,8 @@ export class File {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const getFileOpts: Flags = {
|
const getFileOpts: Flags = {
|
||||||
create: !('create' in options) || options.create,
|
create: !options.append,
|
||||||
exclusive: !!options.replace
|
exclusive: !options.replace
|
||||||
};
|
};
|
||||||
|
|
||||||
return File.resolveDirectoryUrl(path)
|
return File.resolveDirectoryUrl(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user