Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the build docs command #445

Merged
merged 1 commit into from
Sep 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/utils/encoding/encodeDoubleArray.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const toArray = require('../parsing/toArray');

/**
* Serialize an array of arrays into a string
* @param {[]|[[]]} array - An array of arrays.
* @param {string[] | Array.<Array.<string>>} array - An array of arrays.
* If the first element is not an array the argument is wrapped in an array.
* @returns {string} A string representation of the arrays.
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/parsing/toArray.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const isArray = require('lodash/isArray');
/**
* @desc Turns arguments that aren't arrays into arrays
* @param arg
* @returns {*[]|*}
* @returns { any | any[] }
*/
function toArray(arg) {
switch (true) {
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ if [[ "${node_v%%.*}" == 'v4' || "${node_v%%.*}" == 'v6' ]]
then
echo 'Old node version - Skipping eslint'
else
eslint .
eslint ./test ./lib
fi