Skip to content

Commit

Permalink
Fix prettier/jsdoc (#94)
Browse files Browse the repository at this point in the history
* Fix jsdoc.

* Fix prettier script
  • Loading branch information
mshima committed Apr 5, 2020
1 parent bcce91f commit ef8c7a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
jsdoc -c jsdoc.json -d ../out
cd ../out
sed -i -e 's:^[[:space:]]*<!--[[:space:]]*$::g' -e 's:^[[:space:]]*-->[[:space:]]*$::g' global.html
prettier * --write
prettier . --write
git add .
git config --local user.email ""
git config --local user.name "Github Actions"
Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ exports.createDummyGenerator = () =>

/**
* Create a generator, using the given dependencies and controller arguments
* Dependecies can be path (autodiscovery) or an array [<generator>, <name>]
* Dependecies can be path (autodiscovery) or an array [{generator}, {name}]
*
* @param {String} name - the name of the generator
* @param {Array} dependencies - paths to the generators dependencies
Expand Down Expand Up @@ -177,7 +177,7 @@ exports.createGenerator = function(

/**
* Register a list of dependent generators into the provided env.
* Dependecies can be path (autodiscovery) or an array [<generator>, <name>]
* Dependecies can be path (autodiscovery) or an array [{generator}, {name}]
*
* @param {Array} dependencies - paths to the generators dependencies
*/
Expand Down

0 comments on commit ef8c7a9

Please sign in to comment.