Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
walint
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
hub
walint
Commits
ee73be28
Commit
ee73be28
authored
3 years ago
by
stuebinm
Browse files
Options
Downloads
Patches
Plain Diff
fix a bug when writing things out
(it didn't check if directories to save maps in actually existed)
parent
a318f848
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/WriteRepo.hs
+3
-3
3 additions, 3 deletions
lib/WriteRepo.hs
with
3 additions
and
3 deletions
lib/WriteRepo.hs
+
3
−
3
View file @
ee73be28
...
@@ -36,9 +36,9 @@ writeAdjustedRepository config inPath outPath result
...
@@ -36,9 +36,9 @@ writeAdjustedRepository config inPath outPath result
createDirectoryIfMissing
True
outPath
createDirectoryIfMissing
True
outPath
-- write out all maps
-- write out all maps
mapM_
forM_
(
toList
$
dirresultMaps
result
)
$
\
(
path
,
out
)
->
do
(
\
(
path
,
out
)
->
encodeFile
(
outPath
</>
path
)
$
mapresultAdjusted
out
)
createDirectoryIfMissing
True
(
takeDirectory
(
outPath
</>
path
)
)
(
toList
$
dirresultMaps
result
)
encodeFile
(
outPath
</>
path
)
$
mapresultAdjusted
out
unless
(
configDontCopyAssets
config
)
$
do
unless
(
configDontCopyAssets
config
)
$
do
-- collect asset dependencies of maps
-- collect asset dependencies of maps
...
...
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