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 10 additions and 2 deletions
Showing only changes of commit dcebf86408 - Show all commits

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)
jon-lee marked this conversation as resolved Outdated

Should be removed. It should be fixed from JOJ3 side. Also in InputFile = Union[LocalFile, MemoryFile, PreparedFile, Symlink, None]

Should be removed. It should be fixed from JOJ3 side. Also in `InputFile = Union[LocalFile, MemoryFile, PreparedFile, Symlink, None]`

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,