File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
import * as fs from "fs" ;
9
9
import { spawnSync } from "child_process" ;
10
10
import { Octokit } from "@octokit/rest" ;
11
- import { printInlineDiff } from "print-diff" ;
11
+ import { printUnifiedDiff } from "print-diff" ;
12
12
import { generateChangelogFrom } from "../lib/changelog.js" ;
13
13
import { packages } from "./createTypesPackages.js" ;
14
14
import { fileURLToPath } from "node:url" ;
@@ -65,7 +65,7 @@ for (const dirName of fs.readdirSync(generatedDir)) {
65
65
) ;
66
66
console . log ( ` - ${ file } ` ) ;
67
67
if ( oldFile !== generatedDTSContent )
68
- printInlineDiff ( oldFile , generatedDTSContent ) ;
68
+ printUnifiedDiff ( oldFile , generatedDTSContent ) ;
69
69
70
70
const title = `## \`${ file } \`` ;
71
71
const notes = generateChangelogFrom ( oldFile , generatedDTSContent ) ;
You can’t perform that action at this time.
0 commit comments