Fixed linting error

pull/5370/head
ioedeveloper 4 years ago committed by yann300
parent 1bf9253e4e
commit cc80763631
  1. 4
      src/app/files/remixDProvider.js

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

Loading…
Cancel
Save