Skip to content

Commit

Permalink
working clone and leaf render from template
Browse files Browse the repository at this point in the history
  • Loading branch information
loganwright committed Jan 31, 2019
1 parent 1036ea7 commit f2d4ebd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/VaporToolbox/New.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ struct New: Command {

let next: Future<Void>
if FileManager.default.fileExists(atPath: seedPath) {
next = try LeafRenderFolder().run(using: ctx)
let renderContext = CommandContext(console: ctx.console, arguments: [:], options: ["path": workTree], on: ctx.container)
next = try LeafRenderFolder().run(using: renderContext)
} else {
next = Future.map(on: ctx.container) {}
}
Expand Down

0 comments on commit f2d4ebd

Please sign in to comment.