Commit 7f600a0c authored by ioedeveloper's avatar ioedeveloper

Fixed linting error

parent e72e6f14
......@@ -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)
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment