summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKellen Carey <kellen.carey@gmail.com>2020-10-10 17:00:13 -0700
committerGitHub <noreply@github.com>2020-10-10 17:00:13 -0700
commit4aa45c6f40c3e640cebce58b4d10cd24dc61b8ed (patch)
tree9eb48a982efd4d9d8549a829f00195212c7f4ab8
parentb64517943deb3dfe72e2e37ca62319856bc35752 (diff)
update setup.ps1
-rw-r--r--docs/static/setup.ps16
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/static/setup.ps1 b/docs/static/setup.ps1
index 1da5737..63bd5c0 100644
--- a/docs/static/setup.ps1
+++ b/docs/static/setup.ps1
@@ -57,11 +57,11 @@ catch [System.Management.Automation.CommandNotFoundException] {
}
Test-Git-Config -Option "user.name" -ErrMsg "Git username not set!`nRun: git config --global user.name 'My Name'"
-Test-Git-Config -Option "user.email" -ErrMsg "Git email not set!`nRun: git config --global user.name 'example@myemail.com'"
+Test-Git-Config -Option "user.email" -ErrMsg "Git email not set!`nRun: git config --global user.email 'example@myemail.com'"
-$permission = (Get-Acl $PSScriptRoot).Access |
+$permission = (Get-Acl $pwd).Access |
?{$_.IdentityReference -match $env:UserName `
- -and $_.FileSystemRights -match "Read" `
+ -and $_.FileSystemRights -match "FullControl" `
-or $_.FileSystemRights -match "Write" } |
Select IdentityReference,FileSystemRights