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: [gnoweb] fix unset binding #1446

Merged
merged 1 commit into from
Dec 16, 2023
Merged

Conversation

gfanton
Copy link
Member

@gfanton gfanton commented Dec 16, 2023

fix empty binding on gnoweb, was a lefthover of #1386 that didn't take the correct flags into account

Contributors' checklist...
  • Added new tests, or not needed, or not feasible
  • Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory
  • Updated the official documentation or not needed
  • No breaking changes were made, or a BREAKING CHANGE: xxx message was included in the description
  • Added references to related issues and PRs
  • Provided any useful hints for running manual tests
  • Added new benchmarks to generated graphs, if any. More info here.

Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
@gfanton gfanton requested a review from a team as a code owner December 16, 2023 10:40
@gfanton gfanton requested a review from albttx December 16, 2023 10:41
@github-actions github-actions bot added the 📦 ⛰️ gno.land Issues or PRs gno.land package related label Dec 16, 2023
Copy link

codecov bot commented Dec 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9262c1a) 56.28% compared to head (d3821b2) 56.30%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1446      +/-   ##
==========================================
+ Coverage   56.28%   56.30%   +0.01%     
==========================================
  Files         422      422              
  Lines       65699    65699              
==========================================
+ Hits        36980    36991      +11     
+ Misses      25835    25824      -11     
  Partials     2884     2884              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@albttx albttx left a comment

Choose a reason for hiding this comment

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

LGTM

@gfanton gfanton merged commit ad9d30f into gnolang:master Dec 16, 2023
180 checks passed
thehowl pushed a commit that referenced this pull request Dec 21, 2023
Before:
![CleanShot 2023-12-21 at 00 31
36@2x](https://github.com/gnolang/gno/assets/94029/9587d366-adac-42a1-9527-0b14c97ff89f)

After:
![CleanShot 2023-12-21 at 00 59
08@2x](https://github.com/gnolang/gno/assets/94029/8560bf0c-a145-47a5-b456-80f38479f390)

Continues #1446

---

Flag parsing was broken because `fs.Parse` was expecting to use
`os.Args[1:]` instead of `os.Args`. I fixed it, simplified the
implementation and added a regression test.

---------

Signed-off-by: moul <94029+moul@users.noreply.github.com>
gfanton added a commit to moul/gno that referenced this pull request Jan 18, 2024
gfanton pushed a commit to moul/gno that referenced this pull request Jan 18, 2024
Before:
![CleanShot 2023-12-21 at 00 31
36@2x](https://github.com/gnolang/gno/assets/94029/9587d366-adac-42a1-9527-0b14c97ff89f)

After:
![CleanShot 2023-12-21 at 00 59
08@2x](https://github.com/gnolang/gno/assets/94029/8560bf0c-a145-47a5-b456-80f38479f390)

Continues gnolang#1446

---

Flag parsing was broken because `fs.Parse` was expecting to use
`os.Args[1:]` instead of `os.Args`. I fixed it, simplified the
implementation and added a regression test.

---------

Signed-off-by: moul <94029+moul@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 ⛰️ gno.land Issues or PRs gno.land package related
Projects
Status: No status
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants