@@ -17,6 +17,7 @@ import (
1717 "github.com/spf13/viper"
1818 "net/url"
1919 "path/filepath"
20+ "runtime"
2021 "strings"
2122)
2223
@@ -292,10 +293,9 @@ func (c *MssqlBase) createContainer(imageName string, contextName string) {
292293 )
293294
294295 output .Infof (
295- "Created context %q in %q , configuring user account..." ,
296+ "Created context %q in \" %s \" , configuring user account..." ,
296297 config .CurrentContextName (),
297- config .GetConfigFileUsed (),
298- )
298+ config .GetConfigFileUsed ())
299299
300300 controller .ContainerWaitForLogEntry (
301301 containerId , c .errorLogEntryToWaitFor )
@@ -339,10 +339,15 @@ func (c *MssqlBase) createContainer(imageName string, contextName string) {
339339 )
340340 }
341341
342- hints := [][]string {
343- {"Open in Azure Data Studio" , "sqlcmd open ads" },
344- {"Run a query" , "sqlcmd query \" SELECT @@version\" " },
345- {"Start interactive session" , "sqlcmd query" }}
342+ hints := [][]string {}
343+
344+ // TODO: sqlcmd open ads only support on Windows right now, add Mac support
345+ if runtime .GOOS == "windows" {
346+ hints = append (hints , []string {"Open in Azure Data Studio" , "sqlcmd open ads" })
347+ }
348+
349+ hints = append (hints , []string {"Run a query" , "sqlcmd query \" SELECT @@version\" " })
350+ hints = append (hints , []string {"Start interactive session" , "sqlcmd query" })
346351
347352 if previousContextName != "" {
348353 hints = append (
0 commit comments