Open
Description
build-server.ps1 runs Remove-Item $dir -Recurse
, but because the directories are not empty and -Force
is not used, this fails.
omnisharp-node-client/build-server.ps1
Line 12 in fcb57e1
Remove-Item : You do not have sufficient access rights to perform this operation.
At /Users/felix/git/omnisharp-node-client/build-server.ps1:12 char:1
+ Remove-Item $dir -Recurse
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (.vscode:DirectoryInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : You do not have sufficient access rights to perform this operation.
At /Users/felix/git/omnisharp-node-client/build-server.ps1:12 char:1
+ Remove-Item $dir -Recurse
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (.gitignore:FileInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : You do not have sufficient access rights to perform this operation.
At /Users/felix/git/omnisharp-node-client/build-server.ps1:12 char:1
+ Remove-Item $dir -Recurse
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (.gitattributes:FileInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Directory /Users/felix/git/omnisharp-node-client/vendor/omnisharp-roslyn/omnisharp-roslyn-1.27.2/test-assets/test-projects/CsProjectSample01 cannot be removed because it is not empty.
At /Users/felix/git/omnisharp-node-client/build-server.ps1:12 char:1
+ Remove-Item $dir -Recurse
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (CsProjectSample01:DirectoryInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
Metadata
Assignees
Labels
No labels