From baf7dbfe0dc1c5256430ba1e8ae9c3ea62e2fd5e Mon Sep 17 00:00:00 2001 From: J87 <68929154+jake-87@users.noreply.github.com> Date: Sun, 21 Nov 2021 20:26:17 +1100 Subject: [PATCH] Fixed linter issue --- packages/lib/file_ops.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lib/file_ops.js b/packages/lib/file_ops.js index f31687e2..c04077be 100644 --- a/packages/lib/file_ops.js +++ b/packages/lib/file_ops.js @@ -68,7 +68,7 @@ async function findUnusedName(directory, name, extension = "") { } } } -/* +/** * Warning: this function should not be relied upon to be accurate for * security sensitive applications. The selection process is inherently * racy and a file or folder may have been created in the folder by the time @@ -77,7 +77,7 @@ async function findUnusedName(directory, name, extension = "") { * @param {string} prefix - Prefix for file * @param {string} suffix - Suffix for file * @param {string} tmpdir - Directory for temp file -*/ + */ async function getTempFile(prefix, suffix, tmpdir) { prefix = (typeof prefix !== "undefined") ? prefix : "tmp."; suffix = (typeof suffix !== "undefined") ? suffix : "";