Skip to content

Commit

Permalink
Clarify fixJSON return value
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 5, 2024
1 parent 9494c63 commit 24e4ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sb3fix.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}) => {
/**
Expand Down

0 comments on commit 24e4ebf

Please sign in to comment.