diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-09 01:19:22 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-09 01:19:22 +0800 |
| commit | 4614aaf2fdfea30796388218b7437d7d24f3823a (patch) | |
| tree | d9951b7238f6274a2d5008cb73d333e1caf104b4 /tools | |
| parent | cde7be4e67aea4378fbac8462ba8fff48b73ea1e (diff) | |
chore(tscn-to-bsn): use PathBuf for output argument
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/tscn-to-bsn/src/cmd/cmd_convert.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tscn-to-bsn/src/cmd/cmd_convert.rs b/tools/tscn-to-bsn/src/cmd/cmd_convert.rs index a9b16fc..eaa4592 100644 --- a/tools/tscn-to-bsn/src/cmd/cmd_convert.rs +++ b/tools/tscn-to-bsn/src/cmd/cmd_convert.rs @@ -29,14 +29,14 @@ pub fn convert(args: Entry) -> Next { .pick_or_route(&arg![input: FilePath, 'I'], || { ErrorRequirePaths::default().into() }) - .pick_or_route(&arg![output: FilePath, 'O'], || { + .pick_or_route(&arg![output: PathBuf, 'O'], || { ErrorRequirePaths::default().into() }) .to_result()?; StateConvert { input: tscn_file.into(), - output: output_file.into(), + output: output_file, } .into() } |
