Skip to content

fix: Conf parsing error always displays tauri.conf.json file name even when using toml or json5 - #10404

Merged
FabianLars merged 4 commits into
tauri-apps:devfrom
ernstvanderlinden:patch-1
Jul 29, 2024
Merged

FabianLars merged 4 commits into
tauri-apps:devfrom
ernstvanderlinden:patch-1

Conversation

@ernstvanderlinden

Copy link
Copy Markdown
Contributor

Conf parsing error always displays tauri.conf.json as path, even when using Tauri.toml or tauri.conf.json5

Example Error Message when using Tauri.toml:
Error unable to parse toml Tauri config file at
/Users/bla/repo/bla/bla/src-tauri/tauri.conf.json because invalid TOML value, did you mean to use a quoted string? at line 41 column 7

Conf parsing error always displays `tauri.conf.json` as path, even when using `Tauri.toml` or `tauri.conf.json5`

Example Error Message when using Tauri.toml:
Error unable to parse toml Tauri config file at
/Users/bla/repo/bla/bla/src-tauri/tauri.conf.json because
invalid TOML value, did you mean to use a quoted string? at line 41
column 7
@ernstvanderlinden
ernstvanderlinden requested a review from a team as a code owner July 28, 2024 22:01
@github-actions

github-actions Bot commented Jul 29, 2024 •

Copy link
Copy Markdown
Contributor

Package Changes Through 2fe7a55

There are 1 changes which include tauri-utils with prerelease

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-utils 2.0.0-beta.19 2.0.0-beta.20
tauri-bundler 2.0.1-beta.19 2.0.1-beta.20
tauri-runtime 2.0.0-beta.21 2.0.0-beta.22
tauri-runtime-wry 2.0.0-beta.21 2.0.0-beta.22
tauri-codegen 2.0.0-beta.19 2.0.0-beta.20
tauri-macros 2.0.0-beta.19 2.0.0-beta.20
tauri-plugin 2.0.0-beta.19 2.0.0-beta.20
tauri-build 2.0.0-beta.19 2.0.0-beta.20
tauri 2.0.0-beta.25 2.0.0-beta.26
@tauri-apps/cli 2.0.0-beta.23 2.0.0-beta.24
tauri-cli 2.0.0-beta.23 2.0.0-beta.24

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@FabianLars

Copy link
Copy Markdown
Member

Thank you! Would you mind adding a changefile (see .changes dir) too?

@ernstvanderlinden

Copy link
Copy Markdown
Contributor Author

Thanks, done Fabian

@FabianLars
FabianLars merged commit 498f405 into tauri-apps:dev Jul 29, 2024
@ernstvanderlinden
ernstvanderlinden deleted the patch-1 branch August 30, 2024 22:41
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.

2 participants