fix(core): update

This commit is contained in:
2023-07-12 00:39:53 +02:00
parent ea42dbd1c3
commit 6474016fc1
7 changed files with 209 additions and 18777 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartpath',
version: '5.0.8',
version: '5.0.9',
description: 'offers smart ways to handle paths'
}

View File

@ -21,7 +21,7 @@ export const makeAbsolute = (localPathArg: string, baseArg?: string): string =>
/* ------------------------------------------ *
* ------- export functions ----------------- *
* ------------------------------------------ */
export const toAbsolute = (relativeArg: string | string[], baseArg?: string): string | string[] => {
export const toAbsolute = (relativeArg: string | string[], baseArg?: string): string | string[] => {
if (typeof relativeArg === 'string') {
return makeAbsolute(relativeArg, baseArg);
} else if (Array.isArray(relativeArg)) {