Skip to content

Commit

Permalink
Use full path
Browse files Browse the repository at this point in the history
  • Loading branch information
vicancy committed May 9, 2016
1 parent 6c34059 commit 4f2112a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docfx/SubCommands/BuildCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void Exec(SubCommandRunningContext context)
var config = Config;
var baseDirectory = Path.GetFullPath(string.IsNullOrEmpty(config.BaseDirectory) ? Environment.CurrentDirectory : config.BaseDirectory);
var intermediateOutputFolder = Path.Combine(baseDirectory, "obj");
var outputFolder = Path.Combine(config.OutputFolder ?? config.BaseDirectory ?? string.Empty, config.Destination ?? string.Empty);
var outputFolder = Path.GetFullPath(Path.Combine(config.OutputFolder ?? config.BaseDirectory ?? string.Empty, config.Destination ?? string.Empty));

// TODO: Refactor
var original = Environment.CurrentDirectory;
Expand Down

0 comments on commit 4f2112a

Please sign in to comment.