Update remixDProvider.js

pull/2101/head
bunsenstraat 3 years ago committed by GitHub
parent 047836d773
commit 73472bba9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/remix-ide/src/app/files/remixDProvider.js

@ -105,7 +105,7 @@ module.exports = class RemixDProvider extends FileProvider {
const file = await this._appManager.call('remixd', 'get', { path: unprefixedpath })
this.filesContent[path] = file.content
if (file.readonly) { this._readOnlyFiles[path] = 1 }
if(cb) return cb(null, file.content)
if(cb) cb(null, file.content)
return file.content
} catch(error) {
if (error) console.log(error)

Loading…
Cancel
Save