Commit 0d34d34
committed
fix(functions): handle missing package.json gracefully in analyze.ts
Add try option to resolvePackageJSON and return null if package.json is not found to prevent crashes when analyzing packages without package.json1 parent 536a268 commit 0d34d34
1 file changed
Lines changed: 4 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
0 commit comments