Skip to content

taplo fmt --check -diff false positive on windows #766

Open
@tamird

Description

@tamird
Run taplo fmt --check --diff
  taplo fmt --check --diff
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    CARGO_HOME: C:\Users\runneradmin/.cargo
    CARGO_INCREMENTAL: 0
    CARGO_TERM_COLOR: always
    CACHE_ON_FAILURE: false
 INFO taplo:format_files:collect_files: found files total=[3](https://github.com/jmgao/pore/actions/runs/14044977210/job/39323643851#step:6:3) excluded=0 cwd="D:/a/pore/pore"
diff a/D:/a/pore/pore/.rustfmt.toml b/D:/a/pore/pore/.rustfmt.toml
--- a/D:/a/pore/pore/.rustfmt.toml
+++ b/D:/a/pore/pore/.rustfmt.toml
@@ -0,0 +0,0 @@

ERROR taplo:format_files: the file is not properly formatted path="D:/a/pore/pore/.rustfmt.toml"
diff a/D:/a/pore/pore/Cargo.toml b/D:/a/pore/pore/Cargo.toml
--- a/D:/a/pore/pore/Cargo.toml
+++ b/D:/a/pore/pore/Cargo.toml
@@ -0,0 +0,0 @@

ERROR taplo:format_files: the file is not properly formatted path="D:/a/pore/pore/Cargo.toml"
diff a/D:/a/pore/pore/pore.toml b/D:/a/pore/pore/pore.toml
--- a/D:/a/pore/pore/pore.toml
+++ b/D:/a/pore/pore/pore.toml
@@ -0,0 +0,0 @@
ERROR taplo:format_files: the file is not properly formatted path="D:/a/pore/pore/pore.toml"

Seen in https://github.com/jmgao/pore/actions/runs/14044977210/job/39323643851. The same check on macOS and Ubuntu exits clean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions