Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ndtoan96
Copy link
Contributor

Some how file -b --mime-type app/Cargo.toml returns application/x-wine-extension-ini so I cannot preview as well as open Cargo.toml properly

@sxyazi
Copy link
Owner

sxyazi commented Oct 12, 2023

LGTM; Just curious, what's the content of your TOML file? I'd like to test the behavior of my file here a bit.

@ndtoan96
Copy link
Contributor Author

LGTM; Just curious, what's the content of your TOML file? I'd like to test the behavior of my file here a bit.

It's yazi project itself 😂. The workspace Cargo.toml is fine, but the Cargo.toml in each module is mistook as application/x-wine-extension-ini

@sxyazi
Copy link
Owner

sxyazi commented Oct 12, 2023

Weird, they have all been recognized as text/plain on my side. Anyway, let's merge first.

image

@sxyazi sxyazi merged commit 774f8bc into sxyazi:main Oct 12, 2023
@sxyazi sxyazi changed the title Add x-wine-extension-ini to text mime fix: add application/x-wine-extension-ini to text mime Oct 12, 2023
@ndtoan96
Copy link
Contributor Author

Seems to be a Windows-only issue, I just checked with WSL2 and it returns test/plain

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants