mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Merge pull request +9110 from c9/pull/core/142
[Trivial] Ensured plugin runners use caption as name if available
This commit is contained in:
commit
6cd0e85a25
@ -365,7 +365,7 @@ define(function(require, exports, module) {
|
||||
data = util.safeParseJson(data, function() {});
|
||||
if (!data) return;
|
||||
|
||||
services.run.addRunner(filename, data, plugin);
|
||||
services.run.addRunner(data.caption || filename, data, plugin);
|
||||
break;
|
||||
case "snippets":
|
||||
services["language.complete"].addSnippet(data, plugin);
|
||||
@ -541,4 +541,4 @@ define(function(require, exports, module) {
|
||||
"plugin.debug": plugin
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user