fix(diff): bugs on diff stdin and numerics #16
|  | @ -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): | ||||
|  |  | |||
|  | @ -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) | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -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, | ||||
|  |  | |||
|  | @ -24,9 +24,6 @@ | |||
|                             "env": [ | ||||
|                                 "PATH=/usr/bin:/bin:/usr/local/bin" | ||||
|                             ], | ||||
|                             "stdin": { | ||||
|                                 "content": "" | ||||
|                             }, | ||||
|                             "stdout": { | ||||
|                                 "name": "stdout", | ||||
|                                 "max": 33554432, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user