Skip to content

/diff is having off by one space err #473

@metta-alpha

Description

@metta-alpha

What version of Code is running?

0.6.14

Which model were you using?

What platform is your computer?

Linux 6.14.0-27-generic x86_64 unknown

What steps can reproduce the bug?

run /diff

What is the expected behavior?

   @@ -19,6 +19,7 @@ COLS_PREFIXES = [
         "avg_",
         "peak_",
         "total_",
   +     "pos_hl_"
     ]
     COLS_POSTFIXES = ["_usd", "_cnt", "_pct", "_ps"]

What do you see instead?

   @@ -19,6 +19,7 @@ COLS_PREFIXES = [
         "avg_",
         "peak_",
         "total_",
   +    "pos_hl_"
     ]
     COLS_POSTFIXES = ["_usd", "_cnt", "_pct", "_ps"]

Additional information

03536a1
^ this commit prob missing a "space"

tho... it might be cleaner to use --no-color instead here: #472
(^ this is really up to taste, i have no real qualms with just patching the diff sanitizer)

btw i very much appreciate the very fast fix :)))) using this quite a bit now, really gud project u have here

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions