Skip to content

fix: SSHConfig: check for multiple start/end blocks #510

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

Merged
merged 8 commits into from
May 23, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove type comments
  • Loading branch information
johnstcn committed May 21, 2025
commit d5dfbfc968c8184fad8d5df50cfe66acf4eda9e5
3 changes: 0 additions & 3 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ export function expandPath(input: string): string {

/**
* Return the number of times a substring appears in a string.
* @param needle string
* @param haystack string
* @returns number
*/
export function countSubstring(needle: string, haystack: string): number {
if (needle.length < 1 || haystack.length < 1) {
Expand Down