Skip to content

--output-directory misbehaves if a trailing slash is not included. #23

@marcusround

Description

@marcusround

Running the following command in Windows 11 terminal
./ysc.exe tag --output-directory output game.yarn

Expected behaviour is to output a file game.yarn in a subfolder named output of the current directory.
Instead what happens is a file called outputgame.yarn is created in the current directory.

Interestingly, the output will still fail with "Directory does not exist", if subfolder output does not exist. But it just doesn't get used.

To achieve the expected behaviour, I must run the following command
./ysc.exe tag --output-directory output/ game.yarn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions