Skip to content

Commit b4352dc

Browse files
author
James Brundage
committed
Updating Action (preferring local bits typofix) (#98)
1 parent 0866b07 commit b4352dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Github/Actions/PipeScriptAction.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $PSD1Found = Get-ChildItem -Recurse -Filter "*.psd1" | Where-Object Name -eq 'Pi
5656

5757
if ($PSD1Found) {
5858
$PipeScriptModulePath = $PSD1Found
59-
Import-Module $psd1Path -Force -PassThru | Out-Host
59+
Import-Module $PSD1Found -Force -PassThru | Out-Host
6060
} elseif ($env:GITHUB_ACTION_PATH) {
6161
$PipeScriptModulePath = Join-Path $env:GITHUB_ACTION_PATH 'PipeScript.psd1'
6262
if (Test-path $PipeScriptModulePath) {

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ runs:
124124
125125
if ($PSD1Found) {
126126
$PipeScriptModulePath = $PSD1Found
127-
Import-Module $psd1Path -Force -PassThru | Out-Host
127+
Import-Module $PSD1Found -Force -PassThru | Out-Host
128128
} elseif ($env:GITHUB_ACTION_PATH) {
129129
$PipeScriptModulePath = Join-Path $env:GITHUB_ACTION_PATH 'PipeScript.psd1'
130130
if (Test-path $PipeScriptModulePath) {

0 commit comments

Comments
 (0)