Skip to content

Commit

Permalink
use join over hard-coded /
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Jan 9, 2023
1 parent e61aed2 commit 7e13db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/builder-manager/src/utils/managerEntries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export async function wrapManagerEntries(entrypoints: string[]) {
const base = relative(process.cwd(), dir);
const location = join(
cacheLocation,
sanitizeFinal(`${sanitizeBase(base)}-${i}/${sanitizeBase(name)}-bundle.mjs`)
sanitizeFinal(join(`${sanitizeBase(base)}-${i}`, `${sanitizeBase(name)}-bundle.mjs`))
);

await fs.ensureFile(location);
Expand Down

0 comments on commit 7e13db5

Please sign in to comment.