Skip to content

Commit

Permalink
fix: default config not loaded sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
sahachide committed Sep 21, 2020
1 parent 7ec4ff0 commit d4e7971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { ZenConfig } from './../types/interfaces'
import { fs } from './../filesystem/FS'
import { join } from 'path'

const appDir = fs.appDir()
const appDir = fs ? fs.appDir() : process.cwd()

/**
* The default ZenTS config
Expand Down

0 comments on commit d4e7971

Please sign in to comment.