mirror of https://github.com/nodejs/corepack.git
Makes Y the default
This commit is contained in:
parent
f83e36fecd
commit
c43f3d7bda
|
|
@ -119,6 +119,7 @@ export async function persistPmSpec(updateTarget: string, locator: Locator, mess
|
||||||
res = await Enquirer.prompt([{
|
res = await Enquirer.prompt([{
|
||||||
type: `confirm`,
|
type: `confirm`,
|
||||||
name: `confirm`,
|
name: `confirm`,
|
||||||
|
initial: true,
|
||||||
message: message.replace(`{}`, newSpec),
|
message: message.replace(`{}`, newSpec),
|
||||||
}]);
|
}]);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue