Skip to content

Commit

Permalink
feat: expose fs
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jan 6, 2019
1 parent 50ed7ae commit fcc2db5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = class Generator {
this.logger = logger
this.config = config
this.spinner = spinner
this.fs = fs
}

get colors() {
Expand Down
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ function setUtils(name, getUtil) {
setUtils('installPackages', () => require('./installPackages'))
setUtils('logger', () => require('./logger'))
setUtils('spinner', () => require('./spinner'))
setUtils('fs', () => require('majo').fs)

module.exports = kopy

0 comments on commit fcc2db5

Please sign in to comment.