Skip to content

Commit

Permalink
chore: update history.go (#142)
Browse files Browse the repository at this point in the history
psuedo -> pseudo
  • Loading branch information
eltociear authored Oct 22, 2024
1 parent 2f63df7 commit b16dc92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func expandHistory(ctx context.Context,

for i, cmd := range rawCommands {
if _, err := fmt.Fprintln(ptmx, cmd); err != nil {
logger.Debug("failed to write command to psuedo terminal", "error", err.Error())
logger.Debug("failed to write command to pseudo terminal", "error", err.Error())
return nil, err
}
// Wait for the command to be processed by the server.
Expand All @@ -198,7 +198,7 @@ func expandHistory(ctx context.Context,
logger.Debug("cancelReader.Cancel() returned", "ok", ok)
wg.Wait()
logger.Debug("wg.Wait() finished")
logger.Debug("canceling context for psuedo terminal and its associated command")
logger.Debug("canceling context for pseudo terminal and its associated command")
cancelCtx()
logger.Debug("waitng for c.Wait()")
c.Wait()
Expand Down

0 comments on commit b16dc92

Please sign in to comment.