docs: Add trustLevel info to allowedPostUpgradeCommands (#8597)

This commit is contained in:
aizerin 2021-02-09 14:05:52 +01:00 committed by GitHub
parent 8b9d1a064f
commit b079caf7fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,7 @@ npx ng update @angular/core --from=9.0.0 --to=10.0.0 --migrateOnly --allowDirty
A list of regular expressions that determine which commands in `postUpgradeTasks` are allowed to be executed. A list of regular expressions that determine which commands in `postUpgradeTasks` are allowed to be executed.
If this list is empty then no tasks will be executed. If this list is empty then no tasks will be executed.
Also you need to have `"trustLevel": "high"`, otherwise these tasks will be ignored.
e.g. e.g.