Visitar URL original
added input check and usage to `git-find-large-files` by jefeish · Pull Request #363 · github/platform-samples · GitHub
The Wayback Machine - https://web.archive.org/web/20200917114019/https://github.com/github/platform-samples/pull/363
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

added input check and usage to `git-find-large-files` #363

Merged
merged 3 commits into from Aug 24, 2020
Merged

Conversation

@jefeish
Copy link
Contributor

jefeish commented Aug 20, 2020

I ran the git-find-large-files command with a -h 😁 and ended up with ...

./git-find-large-files: line 67: [: -h: integer expression expected
./git-find-large-files: line 67: [: -h: integer expression expected
./git-find-large-files: line 67: [: -h: integer expression expected
...

The added check also prevents negative integers.

@jefeish jefeish requested a review from larsxschneider Aug 20, 2020
@jefeish jefeish changed the title added input _check_ and _usage_ to `git-find-large-files` added input check and usage to `git-find-large-files` Aug 20, 2020
Copy link
Member

larsxschneider left a comment

Looks good! Thank you 😊

scripts/git-find-large-files Outdated Show resolved Hide resolved
scripts/git-find-large-files Outdated Show resolved Hide resolved
jefeish and others added 2 commits Aug 24, 2020
Co-authored-by: Lars Schneider <larsxschneider@github.com>
the 'space' was intentional, to set the statement 'apart' :) ... anyhow removing it

Co-authored-by: Lars Schneider <larsxschneider@github.com>
@jefeish jefeish merged commit 59766bc into master Aug 24, 2020
2 checks passed
2 checks passed
LGTM analysis: JavaScript No new or fixed alerts
Details
LGTM analysis: Python No new or fixed alerts
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.