We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3732b10 commit de7bd9dCopy full SHA for de7bd9d
command/credentials.go
@@ -84,7 +84,7 @@ func (bashWriter) ExportEnvironmentVariable(w io.Writer, key, value string) (int
84
type powershellWriter struct{}
85
86
func (powershellWriter) ExportEnvironmentVariable(w io.Writer, key, value string) (int, error) {
87
- return fmt.Fprintf(w, "$Env:%s = %s\n", key, value)
+ return fmt.Fprintf(w, "$Env:%s = %q\n", key, value)
88
}
89
90
type basicWriter struct{}
0 commit comments