fix: remove none stdin for diff
All checks were successful
build / build (push) Successful in 13m50s
build / build (pull_request) Successful in 14m0s

This commit is contained in:
李衍志523370910113 2025-05-22 16:06:03 +08:00
parent 183e6f1545
commit dcebf86408
4 changed files with 10 additions and 2 deletions

View File

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

View File

@ -246,7 +246,6 @@ 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,6 +432,9 @@
"env": [
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 33554432,
@ -675,6 +678,9 @@
"env": [
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 33554432,

View File

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