Skip to content

Commit dbab930

Browse files
committed
fix
1 parent 3d097e4 commit dbab930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/check_command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function runCheckCommand(args: CheckCommand) {
2121
}
2222

2323
async function getOriginalSourceHash() {
24-
const filePath = args.outDir.join(output.bindingJsBg.path.basename());
24+
const filePath = args.outDir.join(`${output.crateName}.${args.bindingJsFileExt}`);
2525
try {
2626
return getSourceHashFromText(
2727
await filePath.readText(),

0 commit comments

Comments
 (0)