Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Jan 6, 2023
1 parent 1e1f951 commit c2577a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions local/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,6 @@ func (node *localNode) GetBinaryPath() string {

// See node.Node
func (node *localNode) GetPluginDir() string {
if node.pluginDir == "" {
return filepath.Join(filepath.Dir(node.GetBinaryPath()), "plugins")
}
return node.pluginDir
}

Expand Down
1 change: 1 addition & 0 deletions server/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ func (lc *localNetwork) createConfig() error {
for k, v := range globalConfig {
cfg.Flags[k] = v
}

if lc.pluginDir != "" {
cfg.Flags[PluginDirKey] = lc.pluginDir
}
Expand Down

0 comments on commit c2577a7

Please sign in to comment.