Skip to content

Commit

Permalink
[wasm] RunWithEmSdkEnv: log the working directory also
Browse files Browse the repository at this point in the history
  • Loading branch information
radical committed Mar 11, 2021
1 parent 739881f commit fcf0da6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tasks/WasmAppBuilder/RunWithEmSdkEnv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public override bool Execute()

Command = $"bash -c 'source {envScriptPath} > /dev/null 2>&1 && {Command}'";
}

var workingDir = string.IsNullOrEmpty(WorkingDirectory) ? Directory.GetCurrentDirectory() : WorkingDirectory;
Log.LogMessage(MessageImportance.Low, $"Working directory: {workingDir}");
Log.LogMessage(MessageImportance.Low, $"Using Command: {Command}");

return base.Execute() && !Log.HasLoggedErrors;
Expand Down

0 comments on commit fcf0da6

Please sign in to comment.