fix: typo standalone (#6244)
This commit is contained in:
1 parent
81ca8b1aa5
commit
36ffbfcd4b
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -88,7 +88,7 @@ export async function handler (opts: NvmNodeCommandOptions, params: string[]) {
|
||||
})
|
||||
}
|
||||
if (opts.global && !opts.bin) {
|
||||
throw new PnpmError('CANNOT_MANAGE_NODE', 'Unable to manage Node.js because pnpm was not installed using the standalon installation script', {
|
||||
throw new PnpmError('CANNOT_MANAGE_NODE', 'Unable to manage Node.js because pnpm was not installed using the standalone installation script', {
|
||||
hint: 'If you want to manage Node.js with pnpm, you need to remove any Node.js that was installed by other tools, then install pnpm using one of the standalone scripts that are provided on the installation page: https://pnpm.io/installation',
|
||||
})
|
||||
}
|
||||
|
||||
+1
-1
@@ -277,5 +277,5 @@ test('fail if there is no global bin directory', async () => {
|
||||
pnpmHomeDir: process.cwd(),
|
||||
rawConfig: {},
|
||||
}, ['use', 'lts'])
|
||||
).rejects.toEqual(new PnpmError('CANNOT_MANAGE_NODE', 'Unable to manage Node.js because pnpm was not installed using the standalon installation script'))
|
||||
).rejects.toEqual(new PnpmError('CANNOT_MANAGE_NODE', 'Unable to manage Node.js because pnpm was not installed using the standalone installation script'))
|
||||
})
|
||||
Reference in new issue
Block a user