From 6fae04e92a33c5e72e1b1bfa61dd07701ac397d7 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 20 Apr 2024 10:17:51 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartpath.get.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index be88179..87276b3 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartpath', - version: '5.0.15', + version: '5.0.16', description: 'A library offering smart ways to handle file and directory paths.' } diff --git a/ts/smartpath.get.ts b/ts/smartpath.get.ts index 9ba7bdf..1e741b6 100644 --- a/ts/smartpath.get.ts +++ b/ts/smartpath.get.ts @@ -22,7 +22,7 @@ export const dirnameFromImportMetaUrl = (importMetaUrlArg: string) => { }; export const dirname = (pathArg: string) => { - return dirnameFromImportMetaUrl(pathArg); + return plugins.path.dirname(pathArg); } /**