Browse Source

refactor: add preamble to NodeScript

Sam Jaffe 1 tháng trước cách đây
mục cha
commit
efd52a9986
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/cipy/action.py

+ 1 - 0
src/cipy/action.py

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