Skip to content

Commit 17fa376

Browse files
committed
refactor(bootstrap/node): colocate downloadCli + isCliInstalled (drop unused exports)
1 parent 854f0af commit 17fa376

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cli/src/bootstrap/node.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const logger = getDefaultLogger()
3636
* Download CLI using npm pack command. This delegates to npm which handles
3737
* downloading and extracting the latest version.
3838
*/
39-
export async function downloadCli(): Promise<void> {
39+
async function downloadCli(): Promise<void> {
4040
const packageName = getCliPackageName()
4141
const dlxDir = getDlxDir()
4242
const cliDir = getCliPackageDir()
@@ -112,7 +112,7 @@ export async function downloadCli(): Promise<void> {
112112
/**
113113
* Check if CLI is installed.
114114
*/
115-
export function isCliInstalled(): boolean {
115+
function isCliInstalled(): boolean {
116116
const entryPoint = getCliEntryPoint()
117117
const packageJson = `${getCliPackageDir()}/package.json`
118118
return existsSync(entryPoint) && existsSync(packageJson)

0 commit comments

Comments
 (0)