Skip to content

Mod names should be whitespace-trimmed when being added #102

@Trnrr

Description

@Trnrr

Mod names can have extra white space and when ferium remove is used on one of these mod names it fails. I understand this is probably working as intended but a solution to this could lead to less confusion. Some fixes could be trimming the white space from the config names or displaying the mod names in "" so we can see any extra white space.

I was running into the problem with the Seamless Loading Screen mod. In ferium list, it displays as "Seamless Leading Screen".

Doing any variation of the below commands didn't work:

  • ferium remove "Seamless Loading Screen"
  • ←[1;31mA mod called Seamless Loading Screen is not present in this profile←[0m
  • ferium remove TyTPFOiF
  • ←[1;31mA mod called TyTPFOiF is not present in this profile←[0m
  • ferium remove Seamless\ Loading\ Screen
  • ←[1;31mA mod called Seamless\ is not present in this profile←[0m

After locating the config file, I noticed the name was "Seamless Loading Screen ". Running the remove command with the extra space at the end removed it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priorityI am working on it, or will soon

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions