Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seems to throw errrors on PS7 on Mac in 1.1.29 #68

Open
stopthatastronaut opened this issue May 13, 2020 · 0 comments
Open

Seems to throw errrors on PS7 on Mac in 1.1.29 #68

stopthatastronaut opened this issue May 13, 2020 · 0 comments

Comments

@stopthatastronaut
Copy link

Calling SyncScriptModule, or Get-VariableFromScriptFile

Exception: /Users/jdbrown/.local/share/powershell/Modules/OctopusStepTemplateCi/1.1.29/Cmdlets/Internal/PowerShellManipulation/Get-VariableFromScriptFile.ps1:33
Line |
  33 |          throw "File '$Path' does not contain metadata variable '$vari …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | File '/Users/jdbrown/source/repos/slack-utils/postgres/sizzle-postgres.scriptmodule.ps1' does not contain metadata variable ''

When I run Get-VariableStatement -Path /Users/jdbrown/source/repos/slack-utils/postgres/sizzle-postgres.scriptmodule.ps1 -VariableName ScriptModuleName -Type Value directly against the file, no issue. Had a cursory debug around, but lacking time to debug deeply I switched to a windows machine and logged this issue.

Please hit me up if you need further info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant