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

Spaces in parameters do breaks invokeation of the inline script #13

Open
pgroene opened this issue Aug 15, 2018 · 0 comments
Open

Spaces in parameters do breaks invokeation of the inline script #13

pgroene opened this issue Aug 15, 2018 · 0 comments

Comments

@pgroene
Copy link
Contributor

pgroene commented Aug 15, 2018

Not sure where to put this, when passing a variable that has spaces in it like so: -path $(System.DefaultWorkingDirectory) the variable itself becomes truncated:

2018-08-15T14:59:16.1945400Z ##[debug]VstsTaskSdk 0.6.2 commit b4160c33da0010bd83279e9ffa9bbf13bcbd1ce2
2018-08-15T14:59:16.2855447Z ##[debug]Entering D:\TFS Agent_work_tasks\InlinePowershell_31f040e5-e040-4336-878a-59a493355534\1.1.7\InlinePowershell.ps1.
2018-08-15T14:59:16.3095455Z ##[debug]Env:INPUT_SCRIPT: 'Param(
2018-08-15T14:59:16.3115420Z ##[debug] [string]$path
2018-08-15T14:59:16.3125468Z ##[debug])
2018-08-15T14:59:16.3135448Z ##[debug]Write-Output $path'
2018-08-15T14:59:16.3165515Z ##[debug]Env:INPUT_SCRIPTARGUMENTS: '-path D:\TFS Agent_work\r3\a'
2018-08-15T14:59:16.3465484Z ##[command]& 'D:\TFS Agent_work_temp\tmp14B7.ps1' -path D:\TFS Agent_work\r3\a
2018-08-15T14:59:16.3605498Z D:\TFS

Not sure if this is a bug or not but it's definitely not the intended outcome.

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