From b6d8571860ddf482842791a35cb90f5bba69b28b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 10 Nov 2023 15:59:11 -0500 Subject: [PATCH] Update Z.File.getSample() signature to match getBinaryContentsAsync() Not updated with 2b41b0127c266d2dc8c7d2af1685917a13bb4da8 --- chrome/content/zotero/xpcom/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js index 5d7edb24a7..439346d7d4 100644 --- a/chrome/content/zotero/xpcom/file.js +++ b/chrome/content/zotero/xpcom/file.js @@ -116,7 +116,7 @@ Zotero.File = new function(){ /** * Get the first 200 bytes of a source as a string (multibyte-safe) * - * @param {nsIURI|nsIFile|string spec|nsIChannel|nsIInputStream} source - The source to read + * @param {string path|nsIFile|file URI} source - The source to read * @return {Promise} */ this.getSample = async function (file) {