Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: progress bars should not conflict with inherited command pipes #53

Merged
merged 3 commits into from
Dec 29, 2022

Conversation

dsherret
Copy link
Owner

This should just work:

const name = await $.prompt("What's your name?");

await $.progress("Running command...").with(async () => {
  // this here should work
  await $`sleep 1s && echo Hello, ${name}! && sleep 1s && echo Hello again!`;
});

@dsherret dsherret changed the title fix: progress bars should not conflict with inherited command output fix: progress bars should not conflict with inherited command pipes Dec 29, 2022
@dsherret dsherret merged commit 3e39a62 into main Dec 29, 2022
@dsherret dsherret deleted the fix_progress_bar_inherited_command_output branch December 29, 2022 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant