Skip to content

Commit

Permalink
Fix error due to wrong variable used
Browse files Browse the repository at this point in the history
  • Loading branch information
joeltimothyoh committed Oct 22, 2019
1 parent 21cc3a1 commit 25707be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compile-SourceScript/Public/Compile-SourceScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function Compile-SourceScript {
$PLUGINS_DIR = Join-Path (Split-Path $SCRIPTING_DIR -Parent) $MOD[$MOD_NAME]['plugins_dir_name']

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

0 comments on commit 25707be

Please sign in to comment.