Skip to content

Commit

Permalink
refactor: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Oct 22, 2024
1 parent d38118f commit 6a47aee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/sea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export default async function sea(
await mkdir(tmpDir, { recursive: true });

try {
// change working directory to the temp directory
process.chdir(tmpDir);

// docs: https://nodejs.org/api/single-executable-applications.html
Expand All @@ -287,7 +288,7 @@ export default async function sea(
},
};

log.info('Preparing the executable');
log.info('Creating config file...');
await writeFile(seaConfigFilePath, JSON.stringify(seaConfig));

log.info('Generating the blob...');
Expand Down

0 comments on commit 6a47aee

Please sign in to comment.