Skip to content

Commit

Permalink
Small fix for tests and reading known_hosts file
Browse files Browse the repository at this point in the history
  • Loading branch information
stensmo committed Feb 17, 2024
1 parent 3a16eb8 commit a411893
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/SFTPImpl.jl
Expand Up @@ -41,9 +41,8 @@ function check_and_create_fingerprint(hostNameOrIP::AbstractString)
try

known_hosts_file = joinpath(dir, ".ssh/known_hosts")
typevec = [String, String, String]

rows=CSV.File(known_hosts_file;delim=" ",types=typevec,header=false)

rows=CSV.File(known_hosts_file;delim=" ",types=String,header=false)
for row in rows
row[1] != hostNameOrIP && continue

Expand Down

2 comments on commit a411893

@stensmo
Copy link
Owner Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/101074

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.3 -m "<description of version>" a4118939753d4fece6c9d92b85b13f804001f9b1
git push origin v0.4.3

Please sign in to comment.