Skip to content

Cleaner handling of relative paths to the wings config file#180

Merged
matthewpi merged 1 commit intopterodactyl:developfrom
danny6167:cleanup-config-absolute-path
May 13, 2024
Merged

Cleaner handling of relative paths to the wings config file#180
matthewpi merged 1 commit intopterodactyl:developfrom
danny6167:cleanup-config-absolute-path

Conversation

@danny6167
Copy link
Member

Uses the functions available in filepath to test for, and resolve relative paths to the wings config file.
Note that filepath.Abs() also calls Clean on the result so a separate call isn't needed.

Copy link
Member

@parkervcp parkervcp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matthewpi matthewpi merged commit 9ffbcdc into pterodactyl:develop May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants