Method
isDenoJsRuntime
(projectRootPath: string)
Source from the content-addressed store, hash-verified
| 120 | } |
| 121 | |
| 122 | static async isDenoJsRuntime(projectRootPath: string): Promise<boolean> { |
| 123 | try { |
| 124 | try { |
| 125 | await fs.stat(pathModule.join(projectRootPath, "deno.json")); |
| 126 | } catch (e) { |
| 127 | await fs.stat(pathModule.join(projectRootPath, "deno.jsonc")); |
| 128 | } |
| 129 | return true; |
| 130 | } catch { |
| 131 | return false; |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | async checkForOutdatedPackages(): Promise<{ from: string; to: string } | undefined> { |
| 136 | return; |
Tested by
no test coverage detected