Skip to content

Commit

Permalink
remove unused import
Browse files Browse the repository at this point in the history
Signed-off-by: Case Wylie <[email protected]>
  • Loading branch information
cmwylie19 committed Jan 27, 2025
1 parent a31f1d6 commit 2eb49b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions integration/cli/build.noembed.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ describe("build", () => {
const argz = [`--no-embed`].join(" ");
const build = await pepr.cli(testModule, { cmd: `pepr build ${argz}` });
expect(build.exitcode).toBe(0);
expect(build.stderr.join("").trim()).toContain("Error: Cannot find module");
expect(build.stdout.join("").trim()).toContain("");
expect(build.stdout.join("").trim()).toContain("Module built successfully at");

packageJson = await resource.fromFile(`${testModule}/package.json`);
uuid = packageJson.pepr.uuid;
Expand Down
2 changes: 1 addition & 1 deletion src/cli/build.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export async function handleCustomImageBuild(
export function handleEmbedding(embed: boolean, path: string): void {
if (!embed) {
console.info(`✅ Module built successfully at ${path}`);
return;
process.exit(0);
}
}

Expand Down

0 comments on commit 2eb49b7

Please sign in to comment.