Skip to content

Commit

Permalink
FIxed dev comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanisham committed Mar 28, 2024
1 parent 112d351 commit bd1d40d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cli/meta/symlink_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ package meta

import "os"

// Symlink is a wrapper around Go's os.Symlink,
// but with automatic privilege escalation on windows
// for systems that do not support non-admin symlinks.
func Symlink(oldname, newname string) error {
return os.Symlink(oldname, newname)
}
2 changes: 1 addition & 1 deletion cli/meta/symlink_win.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func isAdmin() bool {
return err == nil
}

// newSymlink is a wrapper around Go's os.Symlink,
// Symlink is a wrapper around Go's os.Symlink,
// but with automatic privilege escalation on windows
// for systems that do not support non-admin symlinks.
func Symlink(oldname, newname string) error {
Expand Down

0 comments on commit bd1d40d

Please sign in to comment.