chore: add promise api runtime flag (#15841)

* chore: add promise api runtime flag

* add promisification plan document

* fix process.md typo
This commit is contained in:
Shelley Vohr 2018-11-26 16:00:46 -05:00 committed by GitHub
parent 6f116eeaa4
commit 0a5f8611e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 78 additions and 2 deletions

View file

@ -93,7 +93,7 @@ if (process.platform === 'linux') {
}
app.allowNTLMCredentialsForAllDomains = function (allow) {
if (!process.noDeprecations) {
if (!process.noDeprecation) {
deprecate.warn('app.allowNTLMCredentialsForAllDomains', 'session.allowNTLMCredentialsForDomains')
}
const domains = allow ? '*' : ''