Skip to content

Commit

Permalink
Fix JSDoc type of isModule
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Feb 4, 2021
1 parent 4157d52 commit 80b393b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cli/utils.js
Expand Up @@ -123,8 +123,7 @@ export function readFile(path) {
/**
* Checks if current package.json uses type "module"
*
* @param {string} path
* @return {string}
* @return {boolean}
*/
export function isModule() {
const pkgPath = path.resolve('./package.json')
Expand Down

0 comments on commit 80b393b

Please sign in to comment.