Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified for cross-platform compatibility for path to Config.json #9

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

davesienkowski
Copy link

Update line 39 in Pegasus.cs to:
ConfigManager.Initialise(Path.Combine(Directory.GetCurrentDirectory(), "Config.json"));

The change ensures that the correct path separator is used regardless of the operating system. This modification should make the code compatible with Linux file path conventions while still working on Windows. The Path.Combine() method automatically uses the correct path separator for the current operating system.

Changed the Logger type to ILogger and renamed usages of log to logger.

Changed line 39 for config.json path to use method Path.Combine() allowing for cross-platform compatibility.
Changed the Logger type to ILogger and renamed usages of log to logger.

Changed line 39 for config.json path to use method Path.Combine() allowing for cross-platform compatibility.
Accidently committed wrong files.
Changed the Logger type to ILogger and renamed usages of log to logger.

Changed line 39 for config.json path to use method Path.Combine() allowing for cross-platform compatibility.
Changed the Logger type to ILogger and renamed usages of log to logger.

Changed line 39 for config.json path to use method Path.Combine() allowing for cross-platform compatibility.
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.

None yet

1 participant