Skip to content

Commit

Permalink
Also include cd’s in verbose output
Browse files Browse the repository at this point in the history
Since the cd commands are issued inside ShellOut, it was necessary to
add explicit output for them.
  • Loading branch information
JohnSundell committed Apr 17, 2017
1 parent 798faf1 commit 472f4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MarathonCore/ShellOut+Marathon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Require
in folder: Folder = FileSystem().currentFolder,
printer: Printer) throws -> String {
do {
printer.verboseOutput("$ \(command)")
printer.verboseOutput("$ cd \"\(folder.path)\" && \(command)")
let output = try shellOut(to: command, at: folder.path)
printer.verboseOutput(output)

Expand Down

0 comments on commit 472f4fd

Please sign in to comment.