From 24e4ebf697535bd629604368da1361057e739f44 Mon Sep 17 00:00:00 2001 From: Muffin Date: Mon, 5 Aug 2024 16:52:37 -0500 Subject: [PATCH] Clarify fixJSON return value --- src/sb3fix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sb3fix.js b/src/sb3fix.js index f79c5c9..3284cf7 100644 --- a/src/sb3fix.js +++ b/src/sb3fix.js @@ -67,7 +67,7 @@ const getKnownExtensions = (project) => { /** * @param {string|object} data project.json as a string or as a parsed object already. If object provided, it will be modified in-place. * @param {Options} [options] - * @returns {object} Fixed project.json object. If an object was provided as `data`, the return value will be `data`. + * @returns {object} Fixed project.json object. If the `data` argument was an object, this will point to the same object. */ const fixJSON = (data, options = {}) => { /**