We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b81be5 commit 3d097e4Copy full SHA for 3d097e4
lib/commands/check_command.ts
@@ -21,13 +21,14 @@ export async function runCheckCommand(args: CheckCommand) {
21
}
22
23
async function getOriginalSourceHash() {
24
+ const filePath = args.outDir.join(output.bindingJsBg.path.basename());
25
try {
26
return getSourceHashFromText(
- await args.outDir.join(`${output.bindingJsBg.path.basename()}`)
27
- .readText(),
+ await filePath.readText(),
28
);
29
} catch (err) {
30
if (err instanceof Deno.errors.NotFound) {
31
+ console.warn(`${colors.yellow("Warning")} could not find ${filePath}`);
32
return undefined;
33
} else {
34
throw err;
0 commit comments