mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
chore(): tslint
This commit is contained in:
parent
0b39ff8b7d
commit
24184a5a6a
@ -689,7 +689,7 @@ export class File {
|
||||
})
|
||||
.then((fe) => {
|
||||
return File.writeFileEntry(fe, text, options);
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
/** Write content to FileEntry.
|
||||
@ -700,7 +700,7 @@ export class File {
|
||||
* @param {WriteOptions} options replace file if set to true. See WriteOptions for more information.
|
||||
* @returns {Promise<FileEntry>} Returns a Promise that resolves to updated file entry or rejects with an error.
|
||||
*/
|
||||
private static writeFileEntry(fe: FileEntry, text: string | Blob, options : WriteOptions) {
|
||||
private static writeFileEntry(fe: FileEntry, text: string | Blob, options: WriteOptions) {
|
||||
return File.createWriter(fe)
|
||||
.then((writer) => {
|
||||
if (options.append) {
|
||||
@ -725,7 +725,7 @@ export class File {
|
||||
* @returns {Promise<void>} Returns a Promise that resolves or rejects with an error.
|
||||
*/
|
||||
static writeExistingFile(path: string, fileName: string, text: string | Blob): Promise<void> {
|
||||
return File.writeFile(path, fileName, text, { create: false })
|
||||
return File.writeFile(path, fileName, text, { create: false });
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user