Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GraphDeployer
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
scripts
GraphDeployer
Commits
d9162882
Commit
d9162882
authored
4 years ago
by
L. Ellenbeck
Browse files
Options
Downloads
Plain Diff
Fix: Fixed Graphdeployer (coscine/issues#999)
parents
9a7ad186
b5852084
No related branches found
No related tags found
1 merge request
!5
Fix: Fixed Graphdeployer (coscine/issues#999)
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/GraphDeployer/getRepository.ps1
+4
-0
4 additions, 0 deletions
src/GraphDeployer/getRepository.ps1
with
4 additions
and
0 deletions
src/GraphDeployer/getRepository.ps1
+
4
−
0
View file @
d9162882
...
...
@@ -40,4 +40,8 @@ New-Item -ItemType Directory -Force -Path $path
Copy-Item
"./
$repositoryFolder
/*"
$path
-Recurse
;
# Twice remove, because of: https://stackoverflow.com/questions/7909167/how-to-quietly-remove-a-directory-with-content-in-powershell#comment10316056_7909195
If
(
Test-Path
$repositoryFolder
)
{
Remove-Item
-LiteralPath
$repositoryFolder
-Force
-Recurse
}
If
(
Test-Path
$repositoryFolder
)
{
Remove-Item
-LiteralPath
$repositoryFolder
-Force
-Recurse
}
Pop-Location
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment