fix(diff): bugs on diff stdin and numerics #16

Merged
张泊明518370910136 merged 22 commits from fix/diff into master 2025-05-24 02:45:39 +08:00
4 changed files with 2 additions and 10 deletions
Showing only changes of commit 5acb2ca201 - Show all commits

View File

@ -39,7 +39,7 @@ class StreamOut(BaseModel):
stream_out: bool = Field(..., alias="streamOut")
InputFile = Union[LocalFile, MemoryFile, PreparedFile, Symlink]
InputFile = Union[LocalFile, MemoryFile, PreparedFile, Symlink, None]
class Cmd(BaseModel):

View File

@ -238,6 +238,7 @@ def fix_diff(
)
parser_cases.append(parser_case)
executor.with_.cases = stage_cases
executor.with_.default.stdin = None
diff_parser.with_ = result.DiffConfig(name="diff", cases=parser_cases)

View File

@ -432,9 +432,6 @@
"env": [
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 33554432,
@ -678,9 +675,6 @@
"env": [
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 33554432,

View File

@ -24,9 +24,6 @@
"env": [
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 33554432,