Skip to content

Commit 0d39f0f

Browse files
Report full path when custom runtime is not found (AssemblyScript#2538)
1 parent 8bb4fae commit 0d39f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ export async function main(argv, options) {
639639
if (runtimeText == null) {
640640
runtimePath = runtimeName;
641641
runtimeText = await readFile(runtimePath + extension, baseDir);
642-
if (runtimeText == null) return prepareResult(Error(`Runtime '${runtimeName}' not found.`));
642+
if (runtimeText == null) return prepareResult(Error(`Runtime '${path.resolve(baseDir, runtimePath + extension)}' is not found.`));
643643
} else {
644644
runtimePath = `~lib/${runtimePath}`;
645645
}

0 commit comments

Comments
 (0)