(folderUri: Uri)
| 102 | } |
| 103 | |
| 104 | export function isValidPubGetTarget(folderUri: Uri): { valid: true } | { valid: false, reason: string } { |
| 105 | const folderPath = fsPath(folderUri); |
| 106 | |
| 107 | // If a folder starts with '__' or '{' then it's probably a template of some |
| 108 | // sort and we shouldn't run. |
| 109 | if (folderPath.includes("__") || folderPath.includes("{")) |
| 110 | return { valid: false, reason: "Folder includes __ or { and looks like a template folder" }; |
| 111 | |
| 112 | return { valid: true }; |
| 113 | } |
| 114 | |
| 115 | function getPubPackageStatus( |
| 116 | sdks: Sdks, |
no test coverage detected