Skip to content

Commit

Permalink
[fix ]fix test file path
Browse files Browse the repository at this point in the history
  • Loading branch information
byteHulk committed Oct 28, 2022
1 parent 127d94f commit a047275
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/cli/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ export class CliContext extends Context {
that.buildOutput +
path.resolve(
that.buildOutput,
file.replace(that.buildRoot, "").replace(".ts", "") + ".js",
file
.replace(that.buildRoot, "")
.replace(process.cwd(), "")
.replace(".ts", "") + ".js",
)
);
});
Expand Down

0 comments on commit a047275

Please sign in to comment.