changed import conventions for plugin names: expr-<scoped-name>; scoped-name = <scope>-<name>
This commit is contained in:
+2
-2
@@ -33,9 +33,9 @@ func pluginExists(name string) (exists bool) {
|
||||
func makePluginName(name string) (decorated string) {
|
||||
var template string
|
||||
if execName, err := os.Executable(); err != nil || !strings.Contains(execName, "debug") {
|
||||
template = "expr-%s-plugin%s"
|
||||
template = "expr-%s%s"
|
||||
} else {
|
||||
template = "expr-%s-plugin%s.debug"
|
||||
template = "expr-%s%s.debug"
|
||||
}
|
||||
decorated = fmt.Sprintf(template, name, SHAREDLIBRARY_EXTENSION)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user