Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Clarify an error message on finding a package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Jul 28, 2019
1 parent 80866f8 commit 08cfb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = async function (opts) {
entries = await resolveGlobbedPath(pkgPath)

if (!entries[0]) {
throw new Error('Failed to find package.json, could not find any matching files')
throw new Error('Failed to find package.json, no files found')
}

opts.noDefaultEntries = true
Expand Down

0 comments on commit 08cfb69

Please sign in to comment.