Skip to content

Commit

Permalink
fix older profile.ps1 script usage of source
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Oct 23, 2024
1 parent 075120d commit afdaafa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/shell/c8y.plugin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ Enable dev mode (enables POST, PUT and DELETE commands)
[parameter(ValueFromRemainingArguments=$true)]
$Options
)
c8y settings update --shell auto mode $Mode $Options | source
c8y settings update --shell auto mode $Mode $Options | Out-String | Invoke-Expression
Write-Host "Enabled "$Mode" mode (temporarily)" -ForegroundColor Green
}

# Function source { $input | Out-String | Invoke-Expression }

0 comments on commit afdaafa

Please sign in to comment.