Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "prerelease",
"comment": "don't exit the powershell session and pause for keyboard input if interactive",
"packageName": "react-native-windows",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-05-13T21:16:07.200Z"
}
8 changes: 5 additions & 3 deletions vnext/Scripts/rnw-dependencies.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,11 @@ foreach ($req in $requirements)
}

if ($NeedsRerun) {
Write-Output "Some dependencies are not met. Re-run with -Install to install them.";
exit 1;
Write-Error "Some dependencies are not met. Re-run with -Install to install them.";
if (!$NoPrompt) {
[System.Console]::ReadKey();
}
throw;
} else {
Write-Output "All mandatory requirements met";
exit 0;
}