Skip to content

fix(cli.rs): fix tauri info panic when a package isn't installed, closes #3985#3996

Merged
lucasfernog merged 2 commits intodevfrom
fix/cli.rs/info-panic
Apr 29, 2022
Merged

fix(cli.rs): fix tauri info panic when a package isn't installed, closes #3985#3996
lucasfernog merged 2 commits intodevfrom
fix/cli.rs/info-panic

Conversation

@amrbashir
Copy link
Copy Markdown
Member

@amrbashir amrbashir commented Apr 29, 2022

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
  • I have added a convincing reason for adding this feature, if necessary

Other information

@amrbashir amrbashir requested a review from a team April 29, 2022 11:13
@amrbashir amrbashir requested a review from a team as a code owner April 29, 2022 11:13
@FabianLars
Copy link
Copy Markdown
Member

It panics even earlier now

❯ cargo tauri info

Environment
  › OS: Windows 10.0.19044 X64
  › Webview2: 100.0.1185.50
  › MSVC:
      - Visual Studio Build Tools 2022
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("unexpected end of input while parsing major version number")', src\info.rs:529:81
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  › Node.js: 16.15.0

Comment thread tooling/cli/metadata.json
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