diff --git a/src/plugins/file.ts b/src/plugins/file.ts index 4513ba2b0..d3b528b17 100644 --- a/src/plugins/file.ts +++ b/src/plugins/file.ts @@ -671,7 +671,7 @@ export class File { * @returns {Promise} Returns a Promise that resolves to updated file entry or rejects with an error. */ static writeFile(path: string, fileName: string, - text: string | Blob, options: WriteOptions = {}): Promise { + text: string | Blob, options: WriteOptions = {}): Promise { if ((/^\//.test(fileName))) { const err = new FileError(5); err.message = 'file-name cannot start with \/';