Skip to content
Browse files

Prevent loading module twice

  • Loading branch information...
1 parent bdb65a8 commit b1fe0d0e618343d6ab61601554e082b826ff3ff9 @dahlbyk dahlbyk committed Feb 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 posh-git.psm1
View
2 posh-git.psm1
@@ -1,3 +1,5 @@
+if (Get-Module posh-git) { return }
+
Push-Location $psScriptRoot
.\CheckVersion.ps1 > $null

0 comments on commit b1fe0d0

Please sign in to comment.
Something went wrong with that request. Please try again.