We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9141e37 commit a6d5f16Copy full SHA for a6d5f16
lib/util/read-package-json.js
@@ -6,7 +6,7 @@ const path = require('node:path')
6
function readPackageJson () {
7
try {
8
return JSON.parse(fs.readFileSync(path.join(__dirname, '..', '..', 'package.json')))
9
- } catch (err) {
+ } catch {
10
return {}
11
}
12
0 commit comments