Linux fix for base image paths
Rename comsumable to consumable
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user