Skip to content

Commit

Permalink
#214: fix make-dir references
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Dec 9, 2024
1 parent 68036c7 commit c072af8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/xpm/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import os from 'os'
import { deleteAsync } from 'del'

// https://www.npmjs.com/package/make-dir
import makeDir from 'make-dir'
import { makeDirectory } from 'make-dir'

// ----------------------------------------------------------------------------

Expand Down Expand Up @@ -207,7 +207,7 @@ export class Link extends CliCommand {
}

// Create parent folder, for just in case.
await makeDir(globalPackagePath)
await makeDirectory(globalPackagePath)

// fs.symlink(target, path[, type], callback)
// 'creates the link called path pointing to target'
Expand Down Expand Up @@ -368,7 +368,7 @@ export class Link extends CliCommand {
}

// Create parent folder, for just in case.
await makeDir(localXpacksFolderPath)
await makeDirectory(localXpacksFolderPath)

// fs.symlink(target, path[, type], callback)
// 'creates the link called path pointing to target'
Expand Down
4 changes: 2 additions & 2 deletions lib/xpm/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import path from 'path'
// ----------------------------------------------------------------------------

// https://www.npmjs.com/package/make-dir
import makeDir from 'make-dir'
import { makeDirectory } from 'make-dir'

// https://www.npmjs.com/package/semver
import semver from 'semver'
Expand Down Expand Up @@ -456,7 +456,7 @@ export class List extends CliCommand {
const xpacksMap = new Map()

// Create global store folder, for just in case.
await makeDir(context.globalConfig.globalFolderPath)
await makeDirectory(context.globalConfig.globalFolderPath)

await this.findGlobalXpacksRecursive({
folderPath: context.globalConfig.globalFolderPath,
Expand Down

0 comments on commit c072af8

Please sign in to comment.