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

fix: fix Unable to find ssh public key file : false if -s option is not provided #216

Merged
merged 1 commit into from Jun 23, 2023

Conversation

gkc
Copy link
Contributor

@gkc gkc commented Jun 23, 2023

- What I did
fix: fix problem where you get an error message Unable to find ssh public key file : false if the -s option is not provided

- How I did it
Add guard in init to check if value is 'false' before checking if the file exists

- How to verify it
Run sshnp without providing the -s option. Should not fail with this error message.

@gkc gkc requested a review from cconstab June 23, 2023 00:03
Copy link
Member

@cconstab cconstab left a comment

Choose a reason for hiding this comment

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

Yay!

@gkc gkc merged commit dc422f6 into trunk Jun 23, 2023
1 check passed
@gkc gkc deleted the gkc-fix-unable-to-find-ssh-public-key-file branch June 23, 2023 00:36
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

2 participants