docs: fix return type of getPrinters (#21422)

This commit is contained in:
trop[bot]
2019-12-08 10:38:04 -08:00
committed by Shelley Vohr
parent 101b971f36
commit 6fe40ca797
2 changed files with 2 additions and 1 deletions

View File

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