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

Spelling #3

Merged
merged 3 commits into from
Feb 25, 2018
Merged

Spelling #3

merged 3 commits into from
Feb 25, 2018

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Feb 25, 2018

Generated by https://github.com/jsoref/spelling f; to maintain your repo, please consider fchurn

@@ -122,7 +122,7 @@ export async function extractNpmArchiveTo(packageBuffer, target) {

export async function trackProgress(cb) {

let pace = new Progress(`:bar :current/:total (:elapseds)`, {width: 80, total: 1});
let pace = new Progress(`:bar :current/:total (:elapsed)`, {width: 80, total: 1});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible that :elapseds is a real thing, if so, I'll happily file a bug against whichever group is using it, because that's awful.

@bestander
Copy link
Member

Thanks!

@bestander bestander merged commit 84824bd into yarnpkg:master Feb 25, 2018
@arcanis
Copy link
Member

arcanis commented Feb 25, 2018 via email

@bestander
Copy link
Member

bestander commented Feb 25, 2018 via email

bestander added a commit that referenced this pull request Feb 25, 2018
quick fix for #3
@bestander
Copy link
Member

Fixed back f02ab07

@jsoref jsoref deleted the spelling branch February 25, 2018 20:03
@jsoref
Copy link
Contributor Author

jsoref commented Feb 25, 2018

Sorry about that...
Is there no ${elapsed}s like notation that avoids such ambiguities?

@arcanis
Copy link
Member

arcanis commented Feb 26, 2018

None that I'm aware of - the progress module makes a simple replacement. We could have `${`:elapsed`}s`, but it's only marginally more readable.

@jsoref
Copy link
Contributor Author

jsoref commented Feb 27, 2018

Thanks, I just looked. I'd personally suggest asking them to offer something for this.
If I manage to trigger "1000s" or "10000s", reading that would be awful.
It would make sense for the system to support magical unit insertion.
A readable fix would be :elapsed s or :elapsed secs.

Anyway, thanks for working on this project and spending the time to look into that one. Sorry for distracting you from bigger things.

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.

3 participants