Skip to content

Commit 9eb5fce

Browse files
geroplroboquat
authored andcommitted
[server] Fix checkoutLocation for imagebuilds
1 parent 6f38d38 commit 9eb5fce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/server/src/workspace/workspace-starter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,13 +726,13 @@ export class WorkspaceStarter {
726726
) {
727727
// TODO(se): we cannot change this initializer structure now because it is part of how baserefs are computed in image-builder.
728728
// Image builds should however just use the initialization if the workspace they are running for (i.e. the one from above).
729-
729+
checkoutLocation = ".";
730730
const { initializer, disposable } = await this.createCommitInitializer(
731731
{ span },
732732
workspace,
733733
{
734734
...imgsrc.dockerFileSource,
735-
checkoutLocation: ".",
735+
checkoutLocation,
736736
title: "irrelevant",
737737
ref: undefined,
738738
},

0 commit comments

Comments
 (0)