File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ By default confirmation required."
6767 :type 'file
6868 :group 'go-playground )
6969
70- (defcustom go-playground-go-compiler-args " run *.go "
70+ (defcustom go-playground-go-compiler-args " run ./ "
7171 " The arguments that passed to `go` compiler."
7272 :type 'string
7373 :group 'go-playground )
@@ -105,8 +105,8 @@ environment like \"GO111MODULE=on go\")."
105105 (go-playground-ask-file-name
106106 (read-string " Go Playground filename: " ))
107107 (" snippet" )))
108- (snippet-dir (go-playground-snippet-unique-dir file-name)))
109- ( cd snippet-dir)
108+ (snippet-dir (go-playground-snippet-unique-dir file-name))
109+ ( default-directory snippet-dir) )
110110 (shell-command go-playground-init-command)
111111 (concat snippet-dir " /" file-name " .go" )))
112112
You can’t perform that action at this time.
0 commit comments