You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLI:
Version: 1.9.2
Color support: true
Platform:
CPU Architecture: x86_64
OS: linux
Environment:
BIOME_LOG_PATH: unset
BIOME_LOG_PREFIX_NAME: unset
BIOME_CONFIG_PATH: unset
NO_COLOR: unset
TERM: "xterm-kitty"
JS_RUNTIME_VERSION: "v22.9.0"
JS_RUNTIME_NAME: "node"
NODE_PACKAGE_MANAGER: "npm/10.8.3" (In fact, i use pnpm 9.11.0)
Biome Configuration:
Status: unset
Workspace:
Open Documents: 0
What happened?
open your terminal.
mkdir demo &&cd demo
pnpm init
pnpm i -D @biomejs/biome
# no error
npx biome lint package.json
# get "The contents aren't fixed. Use the `--fix` flag to fix them."# note that we have already set "--fix"
cat package.json | npx biome lint --stdin-file-path=package.json --fix
Expected result
When using stdin mode, it shouldn't return an error. (Shouldn't it behave the same as normal usage?)
Code of Conduct
I agree to follow Biome's Code of Conduct
The text was updated successfully, but these errors were encountered:
Environment information
What happened?
Expected result
When using stdin mode, it shouldn't return an error. (Shouldn't it behave the same as normal usage?)
Code of Conduct
The text was updated successfully, but these errors were encountered: