Skip to content

Commit

Permalink
fix: only normalize user-provided path
Browse files Browse the repository at this point in the history
  • Loading branch information
AnActualEmerald committed Aug 21, 2024
1 parent f0dbfd2 commit 5cc982e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if(Bun.env.TS_FILE) {

// Move files to where they're expected
console.log("::group::Set up environment");
const path = p.normalize(Bun.env.TS_PATH ? Bun.env.TS_PATH : "./*");
const path = Bun.env.TS_PATH ? p.normalize(Bun.env.TS_PATH) : ".";
console.log("Moving files from", path, "to /dist");

// Create the dist dir
Expand Down

0 comments on commit 5cc982e

Please sign in to comment.