Skip to content

Commit

Permalink
wip: add improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Jan 16, 2025
1 parent dc13631 commit 17e4696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions internal/shell_executable/shell_executable.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func (b *ShellExecutable) Setenv(key, value string) {
}

func (b *ShellExecutable) AddToPath(dir string) {
b.stageLogger.Infof("export PATH=%s:$PATH", dir)
b.env.Set("PATH", fmt.Sprintf("%s:%s", dir, b.env.Get("PATH")))
}

Expand Down
2 changes: 1 addition & 1 deletion internal/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func logAndQuit(asserter *logged_shell_asserter.LoggedShellAsserter, err error)
// }

func SetUpSignaturePrinter(stageHarness *test_case_harness.TestCaseHarness, shell *shell_executable.ShellExecutable, randomCode string, randomExecutableName string) (string, error) {
executableDir, err := getRandomDirectory(stageHarness)
executableDir, err := getShortRandomDirectory(stageHarness)
if err != nil {
return "", err
}
Expand Down

0 comments on commit 17e4696

Please sign in to comment.