Skip to content

Commit 96a0228

Browse files
committed
build: refactor
1 parent 8d2d987 commit 96a0228

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/release.mjs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import minimist from 'minimist'
2-
import _fs from 'fs'
3-
import { join, resolve, dirname } from 'path'
4-
import { fileURLToPath } from 'url'
2+
import fs from 'node:fs/promises'
3+
import { join, resolve, dirname } from 'node:path'
4+
import { fileURLToPath } from 'node:url'
55
import chalk from 'chalk'
66
import semver from 'semver'
77
import enquirer from 'enquirer'
@@ -10,7 +10,6 @@ import pSeries from 'p-series'
1010
import { globby } from 'globby'
1111

1212
const { prompt } = enquirer
13-
const fs = _fs.promises
1413

1514
const __filename = fileURLToPath(import.meta.url)
1615
const __dirname = dirname(__filename)

0 commit comments

Comments
 (0)