(item: string)
| 199 | } |
| 200 | |
| 201 | function isFile(item: string) { |
| 202 | try { |
| 203 | return statSync(item).isFile() |
| 204 | } catch { |
| 205 | return false |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | function scoreZedWorkspace(workspacePaths: string | null, cwd: string) { |
| 210 | return zedWorkspacePaths(workspacePaths).reduce((score, item) => { |