Skip to content

Commit

Permalink
index: add missing cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeh committed Mar 11, 2020
1 parent e230f19 commit f0d4e64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import path from 'path'

import * as webboot from './tasks/index.mjs'

const cwd = process.cwd()

export const boot = async (state, commands) => {
if (!path.isAbsolute(state.dir)) {
state.dir = path.join(cwd, state.dir)
Expand Down

0 comments on commit f0d4e64

Please sign in to comment.