Skip to content

Commit

Permalink
chore: small cleanup from last release
Browse files Browse the repository at this point in the history
  • Loading branch information
atilafassina committed Oct 5, 2024
1 parent 915c67d commit 6c8b6db
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ export async function run() {
intro("Welcome. Let's get you started. ✨");
const isDebugMode = hasDebugFlag(process.argv);

const bundlePath = path.resolve(fileURLToPath(import.meta.url), "..");

if (isDebugMode) {
log.warn("Debug mode is enabled");
log.info(`Bundle path: ${bundlePath}`);
}

const bundlePath = path.resolve(fileURLToPath(import.meta.url), "..");

// log.info(bundlePath);

const name = (await text({
initialValue: "",
message: "What is the name of your app?",
Expand All @@ -50,8 +49,6 @@ export async function run() {
},
})) as string;

// log.warn(`isDebugMode: ${isDebugMode}`);

const destinationDir = `${process.cwd()}${
isDebugMode ? "/tmp/" : "/"
}${name}`;
Expand Down

0 comments on commit 6c8b6db

Please sign in to comment.