Skip to content

Commit 25707be

Browse files
committed
Fix error due to wrong variable used
1 parent 21cc3a1 commit 25707be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Compile-SourceScript/Public/Compile-SourceScript.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function Compile-SourceScript {
107107
$PLUGINS_DIR = Join-Path (Split-Path $SCRIPTING_DIR -Parent) $MOD[$MOD_NAME]['plugins_dir_name']
108108

109109
# Verify the presence of the compiler item
110-
$compiler = Get-Item -Path $COMPILED_DIR -ErrorAction SilentlyContinue
110+
$compiler = Get-Item -Path $COMPILER_PATH -ErrorAction SilentlyContinue
111111
if (!$compiler) {
112112
throw "Cannot find the plugin compiler at the path '$COMPILER_PATH'."
113113
}

0 commit comments

Comments
 (0)