Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Sep 12, 2024
1 parent 5f5aad9 commit 10b7130
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
"tsup": "^8.2.4",
"typescript": "^5.5.4"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Hopefully this should not be necessary after this unenv PR lands: https://github.com/unjs/unenv/pull/292
*/
export function patchUrl(code: string): string {
console.log("# patchUrl");
console.log("# patchUrl");
return code.replace(
/ ([a-zA-Z0-9_]+) = require\("url"\);/g,
` $1 = require("url");
Expand Down
8 changes: 4 additions & 4 deletions builder/src/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ export async function build(
if (!opts.skipBuild) {
// Build the next app and save a copy in .save.next
buildNextjsApp(inputNextAppDir);
rmSync(`${inputNextAppDir}/${SAVE_DIR}`, {
recursive: true,
force: true,
});
rmSync(`${inputNextAppDir}/${SAVE_DIR}`, {
recursive: true,
force: true,
});
cpSync(`${inputNextAppDir}/.next`, `${inputNextAppDir}/${SAVE_DIR}`, {
recursive: true,
});
Expand Down
2 changes: 1 addition & 1 deletion next/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
"node-url": "npm:url@^0.11.4",
"wrangler": "3.76.0"
}
}
}

0 comments on commit 10b7130

Please sign in to comment.