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

"self update" gives unexpected output #4

Closed
celtic-coder opened this issue Jan 16, 2018 · 3 comments
Closed

"self update" gives unexpected output #4

celtic-coder opened this issue Jan 16, 2018 · 3 comments

Comments

@celtic-coder
Copy link

Running the "self update" gives the following output:

C:\pint>pint self-update
Fetching https://raw.githubusercontent.com/vensko/pint/master/pint.cmd
Pint was updated to the latest version.
" || exit /b 1 was unexpected at this time.

pint-self-update

This looks to be coming from line 27 of the script:

%POWERSHELL% -NoLogo -NoProfile -executionpolicy bypass "$s = ${%PINT%} | out-string; $s += """pint-start %_args%"""; iex($s)" || exit /b 1

@celtic-coder
Copy link
Author

PowerShell is running on Windows 7 64-bit.

C:\pint>powershell
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS C:\pint> $PSVersionTable.PSVersion

Major Minor Build Revision
----- ----- ----- --------
3 0 -1 -1

@vensko
Copy link
Owner

vensko commented Jan 16, 2018

Does this reoccur after manual update (download and replace the file)?

@celtic-coder
Copy link
Author

Hi Dzmitry,

When I manually downloaded the latest version of "pint.cmd" and then ran the "self-update" command it works without any issue:

pint-self-update-new

Thanks!
Liam.

@vensko vensko closed this as completed Jan 18, 2018
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

2 participants