Skip to content

Commit

Permalink
fix(prettier-plugin-jsdoc): update ramda .of syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Jun 18, 2023
1 parent 086bcfd commit 0f97cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fns/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { get, provider } = require('./app');
* @returns {T[]}
* @template T
*/
const ensureArray = (obj) => R.unless(R.is(Array), R.of, obj);
const ensureArray = (obj) => R.unless(R.is(Array), R.of(Array), obj);

/**
* Creates a reducer that finds the last index of a tag on a list and saves it on the
Expand Down

0 comments on commit 0f97cd4

Please sign in to comment.