This commit is contained in:
Florian Dold 2021-05-10 15:32:50 +02:00
parent 8dc5384bdc
commit 477b1399ca
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -26,7 +26,7 @@ import fs from "fs";
* The asset file should be placed in the "assets" directory
* at the top level of the package (i.e. next to package.json).
*/
export function resolveAsset(name: string): string | null {
export function resolveAsset(name: string): string {
const n = __filename;
const d = __dirname;
let assetPath: string;