Better wording for assertNoPnpmDlx
This commit is contained in:
@ -4,9 +4,9 @@ export function assertNoPnpmDlx() {
|
||||
if (__dirname.includes(`${pathSep}pnpm${pathSep}dlx${pathSep}`)) {
|
||||
console.log(
|
||||
[
|
||||
"Please don't use `pnpm dlx keycloakify`. Even if you're using pnpm as a package manager",
|
||||
"use `npx keycloakify` or `pnpm exec keycloakify` instead since you want to use the keycloakify version that is installed in your project and",
|
||||
"not the latest version on NPM."
|
||||
"Please don't use `pnpm dlx keycloakify`.",
|
||||
"\nUse `npx keycloakify` or `pnpm exec keycloakify` instead since you want to use the",
|
||||
"keycloakify version that is installed in your project and not the latest version on NPM."
|
||||
].join(" ")
|
||||
);
|
||||
process.exit(1);
|
||||
|
Reference in New Issue
Block a user