fix(desktop): remove invalid get-windows recovery command
This commit is contained in:
@@ -518,7 +518,6 @@ export function stageGetWindowsInto(
|
||||
throw new Error(
|
||||
`[stage-native-deps] get-windows has no win32-${arch} prebuilt binding under lib/binding. ` +
|
||||
'Recover from the checkout root with:\n' +
|
||||
' npm install-scripts approve get-windows\n' +
|
||||
' npm rebuild get-windows'
|
||||
)
|
||||
}
|
||||
|
||||
@@ -505,7 +505,11 @@ test('win32 staging reports the recovery steps when the rebuild hook produces no
|
||||
arch: 'x64',
|
||||
rebuild: () => {}
|
||||
}),
|
||||
/npm rebuild get-windows/
|
||||
(error) => {
|
||||
assert.match(error.message, /npm rebuild get-windows/)
|
||||
assert.doesNotMatch(error.message, /npm install-scripts/)
|
||||
return true
|
||||
}
|
||||
)
|
||||
} finally {
|
||||
fs.rmSync(tmp, { recursive: true, force: true })
|
||||
|
||||
Reference in New Issue
Block a user