We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46295fb commit 85e31a5Copy full SHA for 85e31a5
1 file changed
commands/details.js
@@ -62,7 +62,7 @@ async function details (argv, arg1, arg2, arg3) {
62
}
63
64
} catch (err) {
65
- if (err.code !== 'ENOENT') throw err
+ if (err.code !== 'ENOENT' && err.code !== 'ERR_ASSERTION') throw err
66
67
68
if (!name || (version !== 'latest' && !semver.valid(version))) {
0 commit comments