A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ksonnet/ksonnet/commit/ea5b4d37b5b86d88e6d1ead80fff44d25a88ac8a below:

Add component paths to jpath · ksonnet/ksonnet@ea5b4d3 · GitHub

This repository was archived by the owner on Sep 9, 2020. It is now read-only.

File tree Expand file treeCollapse file tree 1 file changed

+9

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+9

-0

lines changed Original file line number Diff line number Diff line change

@@ -118,6 +118,15 @@ func Evaluate(a app.App, envName, components, paramsStr string) (string, error)

118 118

libPath,

119 119

)

120 120 121 +

if len(appEnv.Targets) == 0 {

122 +

vm.AddJPath(filepath.Join(a.Root(), "components"))

123 +

} else {

124 +

for _, moduleName := range appEnv.Targets {

125 +

path := filepath.Join(append([]string{a.Root(), "components"}, moduleName)...)

126 +

vm.AddJPath(path)

127 +

}

128 +

}

129 + 121 130

envCode, err := environmentsCode(a, envName)

122 131

if err != nil {

123 132

return "", err

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4