Skip to content

Commit

Permalink
init context
Browse files Browse the repository at this point in the history
  • Loading branch information
ZHallen122 committed Dec 11, 2024
1 parent 445aaab commit 78d758c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/build-system/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class BuilderContext {
private results: Map<string, BuildResult> = new Map();
private handlerManager: BuildHandlerManager;
public model: ModelProvider;
private virtualDirectory: VirtualDirectory;
public virtualDirectory: VirtualDirectory;

constructor(
private sequence: BuildSequence,
Expand Down
1 change: 1 addition & 0 deletions backend/src/build-system/node/file-generate/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export class FileGeneratorHandler {
private virtualDir: VirtualDirectory;

async run(context: BuilderContext, args: unknown): Promise<BuildResult> {
this.virtualDir = context.virtualDirectory;
const fileArch = args[0] as string;

// change here
Expand Down

0 comments on commit 78d758c

Please sign in to comment.