Преглед изворни кода

refactor: add preamble to NodeScript

Sam Jaffe пре 1 месец
родитељ
комит
efd52a9986
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/cipy/action.py

+ 1 - 0
src/cipy/action.py

@@ -82,6 +82,7 @@ class NodeScript(Action):
 
 
     @final
     @final
     @cipy.runner.ipc
     @cipy.runner.ipc
+    @cipy.runner.preamble
     def run(self, context: Context) -> Status:
     def run(self, context: Context) -> Status:
         try:
         try:
             subprocess.run(["node", str(self.main)], check=True)
             subprocess.run(["node", str(self.main)], check=True)