-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix #2671 on GitHub #2678
Fix #2671 on GitHub #2678
Conversation
Can one of the admins verify this patch? |
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
@@ -2,5 +2,5 @@ | |||
*.zip | |||
bazel.nuspec | |||
tools/*.exe | |||
tools/LICENSE | |||
tools/params.json | |||
tools/LICENSE* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are unrelated drive-by fixes.
rm -force -ErrorAction SilentlyContinue ./tools/*.orig | ||
rm -force -ErrorAction SilentlyContinue "./*.nupkg" | ||
rm -force -ErrorAction SilentlyContinue "./bazel.nuspec" | ||
rm -force -ErrorAction SilentlyContinue "./tools/LICENSE*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are unrelated drive-by fixes.
@@ -3,16 +3,18 @@ $packageName = 'bazel' | |||
|
|||
$toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition | |||
$paramsText = get-content "$($toolsDir)\params.txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get-content
already returns an array of strings, but it sounds like #2671 problem is that powershell v2 treats them as system.object
rather than system.string
. Which is super nice.
I've also pushed https://chocolatey.org/packages/bazel/0.4.5-rc7-20170314 so that RC has the same fix. |
LGTM. thanks! |
I'll import this |
Wonderful, thanks. |
No description provided.