v0.0.2
This commit is contained in:
parent
d086c1d493
commit
0f1d41a991
30 changed files with 1013 additions and 1536 deletions
2
utils.js
2
utils.js
|
@ -45,7 +45,7 @@ export function cp(source, destination) {
|
|||
})
|
||||
}
|
||||
|
||||
function pathToArray(filePath) {
|
||||
export function pathToArray(filePath) {
|
||||
// Normalize the file path to handle different OS path separators
|
||||
const normalizedPath = path.normalize(filePath)
|
||||
// Split the path into an array of directories
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue