docs: fix return type of getPrinters (#21411)

This commit is contained in:
Shelley Vohr 2019-12-06 12:36:35 -08:00 committed by Samuel Attard
parent 5bc8809d64
commit 4ac575416f
2 changed files with 2 additions and 1 deletions

View file

@ -276,6 +276,7 @@ WebContents.prototype.getPrinters = function () {
return this._getPrinters()
} else {
console.error('Error: Printing feature is disabled.')
return []
}
}