We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cde843 commit 7723212Copy full SHA for 7723212
tools/deno/api-diff.ts
@@ -124,7 +124,11 @@ if (args.help) printHelpAndExit()
124
125
const { base, head } = await getCommitRange(args._)
126
127
-const tmpDirBase = await genForCommit(base, args.force)
128
-const tmpDirHead = await genForCommit(head, args.force)
+const basePath = (await genForCommit(base, args.force)) + '/Api.ts'
+const headPath = (await genForCommit(head, args.force)) + '/Api.ts'
129
130
-await $`${diffTool} ${tmpDirBase}/Api.ts ${tmpDirHead}/Api.ts || true`
+await $`${diffTool} ${basePath} ${headPath} || true`
131
+
132
+// useful if you want to open the file directly in an editor
133
+console.log('Before:', basePath)
134
+console.log('After: ', headPath)
0 commit comments