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 6570121 commit 61ff4bbCopy full SHA for 61ff4bb
Commands/Open Package.tmCommand
@@ -5,7 +5,7 @@
5
<key>beforeRunningCommand</key>
6
<string>nop</string>
7
<key>command</key>
8
- <string>#!/usr/bin/env ruby18
+ <string>#!/usr/bin/env ruby18 -wKU
9
require "shellwords"
10
require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate" # import to get dynamic gopath if set
11
@@ -28,7 +28,7 @@ def go_path
28
env.scan(/^GO(PATH|ROOT)="(.*)"/) do |key,value|
29
case key
30
when 'PATH'; lcal = value.split(':').map { |dir| "#{dir}/src" }
31
- when 'ROOT'; root = value.split(':').map { |dir| "#{dir}/src/pkg" }
+ when 'ROOT'; root = value.split(':').map { |dir| "#{dir}/src" }
32
end
33
34
[ lcal, root ].flatten
0 commit comments