Skip to content

Commit

Permalink
fix: don't use pound sign in artefact paths
Browse files Browse the repository at this point in the history
  • Loading branch information
leg100 committed Jul 9, 2024
1 parent f99ebe8 commit 0329d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (f *factory) newRun(workspaceID resource.ID, opts CreateOptions) (*Run, err
}

if !opts.applyOnly {
run.ArtefactsPath = filepath.Join(f.dataDir, run.String())
run.ArtefactsPath = filepath.Join(f.dataDir, fmt.Sprintf("%d", run.Serial))
if err := os.MkdirAll(run.ArtefactsPath, 0o755); err != nil {
return nil, fmt.Errorf("creating run artefacts directory: %w", err)
}
Expand Down

0 comments on commit 0329d79

Please sign in to comment.