Skip to content

Suggestion for select_save_location and typo fixe #54

@ByronlLove

Description

@ByronlLove

Hi,
I’ve looked into the code of the select_save_location() function and I have a suggestion to avoid stupid errors:

Currently, the script checks if the selected folder contains \projects\myprojects. If the user selects the final folder directly (by mistake... cough happened to me), the script fails.
It would be simpler if the script were able to detect if it is already in the root folder or in a sub-folder and adapt itself, instead of just blocking with an error message.

And typo fixes:

"Invaild" -> Invalid
"is not exist" -> does not exist (in the run_command function)

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