瀏覽代碼

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
     @cipy.runner.ipc
+    @cipy.runner.preamble
     def run(self, context: Context) -> Status:
         try:
             subprocess.run(["node", str(self.main)], check=True)