From 9183b7a6fe07f75a5b5d409e71fa5716308a49e1 Mon Sep 17 00:00:00 2001 From: Waldemar Reusch Date: Tue, 4 Feb 2025 22:50:45 +0100 Subject: [PATCH] Update compiler.cmd To support monorepos on windows, where protoscript might not actually be located in the project root's own node_modules, but in the monorepo's node_modules, use %~p0 to find compiler.js relative to the cmd file instead of relative to the current working directory --- packages/protoscript/src/compiler.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/protoscript/src/compiler.cmd b/packages/protoscript/src/compiler.cmd index 6d00eda..db110e9 100644 --- a/packages/protoscript/src/compiler.cmd +++ b/packages/protoscript/src/compiler.cmd @@ -1,2 +1,2 @@ @echo off -node .\node_modules\protoscript\dist\compiler.js %* +node %~p0compiler.js %*