We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 873e320 commit 0b3b85aCopy full SHA for 0b3b85a
cli/configssh.go
@@ -440,7 +440,6 @@ func (r *RootCmd) configSSH() *serpent.Command {
440
}
441
442
if !bytes.Equal(configRaw, configModified) {
443
- // Ensure the parent directory exists before writing the file
444
sshDir := filepath.Dir(sshConfigFile)
445
if err := os.MkdirAll(sshDir, os.ModePerm); err != nil {
446
return xerrors.Errorf("failed to create directory %q: %w", sshDir, err)
0 commit comments