Skip to content

Commit 9d77809

Browse files
committed
fix: throw an error, when we are bundling adminforth
1 parent bdf2721 commit 9d77809

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adminforth/commands/bundle.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ async function bundle() {
1616
`);
1717

1818
} catch (e) {
19-
console.log(`Running budndle failed`, e);
19+
console.log(`Running bundle failed`, e);
20+
throw new Error(`Failed to bundle admin SPA: ${e.message}`);
2021
}
2122
}
2223

0 commit comments

Comments
 (0)