Linux fix for base image paths

Rename comsumable to consumable
This commit is contained in:
2025-03-24 19:21:02 -04:00
parent 49c481aa0e
commit 2b59daa21f
2 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,6 @@
const base = Deno.mainModule.substring(8, Deno.mainModule.length - 11); import { platform } from "node:process";
const base = Deno.mainModule.substring(platform == 'win32' ? 8 : 7, Deno.mainModule.length - 11);
export function getBaseImage(name: string) { export function getBaseImage(name: string) {
try { try {