pull/5370/head
filip mertens 3 years ago
parent 2db26e857a
commit c6ac57c9a3
  1. 2
      apps/remix-ide/src/app/files/dgitProvider.js

@ -428,7 +428,7 @@ class DGitProvider extends Plugin {
} }
const dir = path.dirname(file.path) const dir = path.dirname(file.path)
try { try {
this.createDirectories(`${workspace.absolutePath}/${dir}`) await this.createDirectories(`${workspace.absolutePath}/${dir}`)
} catch (e) { throw new Error(e) } } catch (e) { throw new Error(e) }
try { try {
await window.remixFileSystem.writeFile(`${workspace.absolutePath}/${file.path}`, Buffer.concat(content) || new Uint8Array()) await window.remixFileSystem.writeFile(`${workspace.absolutePath}/${file.path}`, Buffer.concat(content) || new Uint8Array())

Loading…
Cancel
Save