Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
ebc523cb9f | |||
6fae04e92a |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@push.rocks/smartpath",
|
"name": "@push.rocks/smartpath",
|
||||||
"version": "5.0.15",
|
"version": "5.0.16",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "A library offering smart ways to handle file and directory paths.",
|
"description": "A library offering smart ways to handle file and directory paths.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartpath',
|
name: '@push.rocks/smartpath',
|
||||||
version: '5.0.15',
|
version: '5.0.16',
|
||||||
description: 'A library offering smart ways to handle file and directory paths.'
|
description: 'A library offering smart ways to handle file and directory paths.'
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ export const dirnameFromImportMetaUrl = (importMetaUrlArg: string) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const dirname = (pathArg: string) => {
|
export const dirname = (pathArg: string) => {
|
||||||
return dirnameFromImportMetaUrl(pathArg);
|
return plugins.path.dirname(pathArg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user