MCPcopy
hub / github.com/triggerdotdev/trigger.dev / getDenoJsonPath

Method getDenoJsonPath

packages/cli/src/utils/jsRuntime.ts:106–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104
105class DenoRuntime extends JsRuntime {
106 getDenoJsonPath(): Promise<string> {
107 try {
108 return fs
109 .stat(pathModule.join(this.projectRootPath, "deno.json"))
110 .then(() => pathModule.join(this.projectRootPath, "deno.json"));
111 } catch {
112 return fs
113 .stat(pathModule.join(this.projectRootPath, "deno.jsonc"))
114 .then(() => pathModule.join(this.projectRootPath, "deno.jsonc"));
115 }
116 }
117
118 get id() {
119 return "deno";

Callers 1

getEndpointIdMethod · 0.95

Calls 1

thenMethod · 0.80

Tested by

no test coverage detected