Skip to content

Commit

Permalink
fix(index): not export walk correct way
Browse files Browse the repository at this point in the history
  • Loading branch information
nampdn committed Nov 21, 2018
1 parent e139288 commit 49ffc0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as fs from 'graceful-fs'
import {promisify} from 'util'
import {walk as w} from './walk'

// Graceful-fs
export const readFileAsync = promisify(fs.readFile)
Expand All @@ -24,4 +25,4 @@ export const fsExistsAsync = promisify(fs.exists)
export const fsReaddirAsync = promisify(fs.readdir)

// Walk
export * from './walk'
export const walk = w

0 comments on commit 49ffc0d

Please sign in to comment.