Skip to content

Commit

Permalink
refactoring screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jperezlatimes committed Nov 8, 2024
1 parent c601b41 commit 678e814
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,11 +458,11 @@ export class Baker extends EventEmitter {
console.log(yellow('Starting screenshot server...'));
const { local: baseUrl, network: external } = await server.start();

// // screenshot the embeds
// await this.takeScreenshots(baseUrl, embedFilepaths);
//
// console.log(yellow('Closing server...'));
// await server.close();
// screenshot the embeds
await this.takeScreenshots(baseUrl, embedFilepaths);

console.log(yellow('Closing server...'));
await server.close();
}

/**
Expand Down

0 comments on commit 678e814

Please sign in to comment.