Skip to content

Commit

Permalink
fix: gnrm use select options
Browse files Browse the repository at this point in the history
  • Loading branch information
alqmc committed Jan 6, 2023
1 parent 425449a commit a3f6925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/commands/gnrm/useUse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { log } from '../../utils/log';
import { execCommand } from '../../utils/shell';
import type { NrmCmd, RegistryInfo } from '../../type/shell.type';

const defaultPackageManager = ['npm', 'yarn', 'npm', 'pnpm'];
const defaultPackageManager = ['npm', 'yarn', 'cnpm', 'pnpm'];

export const useUse = async (name: string, cmd: NrmCmd) => {
const userConfig = await getFileUser(registriesPath);
Expand Down

0 comments on commit a3f6925

Please sign in to comment.