plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Fix biome fmt error case

Open TylerJang27 opened this issue 9 months ago • 1 comments

Fixes https://github.com/trunk-io/plugins/issues/771 for cases of malformed config. biome fmt outputs an exit code of 1. For lint, we have to have success_codes: [0, 1], but for format we can just have success_codes: [0] so that we better surface this error to users.

Also adds a relevant test case.

TylerJang27 avatar May 07 '24 00:05 TylerJang27

⏱️ 13m total CI duration on this PR
Job Cumulative Duration Recent Runs
Windows Linter Tests 4m 🟩
Linter Tests ubuntu-latest 3m 🟩
Linter Tests macOS 3m 🟩
CodeQL-Build 2m 🟩
Trunk Check runner [linux] 1m 🟩
Repo Tests / Plugin Tests 40s 🟩
Aggregate Test Results 4s 🟩
Detect changed files 4s 🟩

settingsfeedbackdocs ⋅ learn more about trunk.io

trunk-io[bot] avatar May 07 '24 00:05 trunk-io[bot]