[gnome-builder] npm: implement get_display_name() vfunc



commit fba3ae1de5a800ab4ba1a9009b35722572f1f365
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jan 21 11:34:10 2019 -0800

    npm: implement get_display_name() vfunc

 src/plugins/npm/npm_plugin.py | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/npm/npm_plugin.py b/src/plugins/npm/npm_plugin.py
index d99b104b4..9f82875f9 100644
--- a/src/plugins/npm/npm_plugin.py
+++ b/src/plugins/npm/npm_plugin.py
@@ -109,6 +109,9 @@ class NPMBuildTarget(Ide.Object, Ide.BuildTarget):
     def do_get_install_directory(self):
         return None
 
+    def do_get_display_name(self):
+        return 'npm run ' + self._script
+
     def do_get_name(self):
         return 'npm-run-' + self._script
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]