Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Commit

Permalink
Remove stale debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaSemenov committed Jun 6, 2018
1 parent 222315d commit 92a3227
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/plugins/fs-routes/write-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ module.exports = async function(api, moduleName, options) {
const mutex = new Mutex()

const writeFile = async () => {
await new Promise(resolve => setTimeout(resolve, 3000))
await fs.writeFile(
return fs.writeFile(
api.resolveOutDir(moduleName),
await require('./routes-template')(api, options)
)
Expand Down

0 comments on commit 92a3227

Please sign in to comment.