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