diff --git a/index.js b/index.js index 6ce647b..ac90038 100644 --- a/index.js +++ b/index.js @@ -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