Fixed linting error

pull/5370/head
ioedeveloper 5 years ago
parent 80c9c9ef4b
commit 6cac18ac39
  1. 4
      apps/remix-ide/src/app/files/remixDProvider.js

@ -70,10 +70,10 @@ module.exports = class RemixDProvider {
return this._appManager.call('remixd', 'exists', { path: unprefixedpath })
.then((result) => {
if(cb) return cb(null, result)
if (cb) return cb(null, result)
return result
}).catch((error) => {
if(cb) return cb(error)
if (cb) return cb(error)
throw new Error(error)
})
}

Loading…
Cancel
Save