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

Commit 08cfb69

Browse files
committedJul 28, 2019
Clarify an error message on finding a package.json
1 parent 80866f8 commit 08cfb69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module.exports = async function (opts) {
6262
entries = await resolveGlobbedPath(pkgPath)
6363

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

6868
opts.noDefaultEntries = true

0 commit comments

Comments
 (0)
This repository has been archived.