Skip to main content
Module

x/yolk/utils/crossPlatformPathConversion.js

Yolk CLI - An Oak-based, batteries included CLI tool for the Oak framework, used to quickly create, structure, and run Oak applications.
Latest
File
export function crossPlatformPathConversion(filePath) { if (Deno.build.os === "win") { filePath = filePath.split("/").join("\\"); filePath = filePath.substr(1, filePath.length - 1); }
return filePath}