Skip to content

Commit 2a1d94e

Browse files
author
Adam Edwards
committed
Merge pull request #18 from adamedx/adamedx/posh-git-bugfix
Rebase of chefsalim #15 posh-git provider bootstrap fix
2 parents 77404a4 + d437832 commit 2a1d94e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
license 'Apache 2.0'
55
description 'Configures tools for development on Windows'
66
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-
version '0.1.85'
7+
version '0.1.86'
88
depends 'git'
99
depends 'windows'
1010

recipes/console.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@
5858
# install posh-git
5959
powershell_script 'posh-git' do
6060
code <<-EOH
61-
Install-Module posh-git
61+
# Bootstrap provider
62+
Get-PackageProvider -Name NuGet -ForceBootstrap
63+
64+
# Install post-git
65+
Install-Module posh-git -confirm:$false -force
66+
6267
# Remove the un-needed example posh-git profile include
6368
if ( test-path $PROFILE )
6469
{

0 commit comments

Comments
 (0)