Skip to content

Commit 72a8fa3

Browse files
sagor999roboquat
authored andcommitted
[pvc] fix prestoophook.sh from failing if prebuild log does not exist
1 parent 24f61c7 commit 72a8fa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/content-service/pkg/layer/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ git config --global --add safe.directory ${GITPOD_REPO_ROOT}
522522
git status --porcelain=v2 --branch -uall > /.workspace/prestophookdata/git_status.txt
523523
git log --pretty='%h: %s' --branches --not --remotes > /.workspace/prestophookdata/git_log_1.txt
524524
git log --pretty=%H -n 1 > /.workspace/prestophookdata/git_log_2.txt
525-
cp /workspace/.gitpod/prebuild-log* /.workspace/prestophookdata/
525+
cp /workspace/.gitpod/prebuild-log* /.workspace/prestophookdata/ | true
526526
`
527527

528528
var pvcEnabledFile = `PVC`

0 commit comments

Comments
 (0)