Permalink
Browse files

Prevent loading module twice

  • Loading branch information...
1 parent bdb65a8 commit b1fe0d0e618343d6ab61601554e082b826ff3ff9 @dahlbyk committed Feb 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 posh-git.psm1
View
@@ -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.