Skip to content

Commit ca54a01

Browse files
author
Illia Obukhau
authored
fix(release-utils-internal): use generic package info (#54)
2 parents 0d21589 + d5e944a commit ca54a01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tools/release-utils-internal/bin/rui-changelog-helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env ts-node-script
22

33
import { prompt } from "enquirer";
4-
import { getModuleInfo, PackageListing, selectPackage } from "../src";
4+
import { getPackageInfo, PackageListing, selectPackage } from "../src";
55
import { getNextVersion, writeVersion } from "../src/bump-version";
66
import {
77
getModuleChangelog,
@@ -75,7 +75,7 @@ async function writeChanges(pkg: PackageListing, sections: LogSection[], nextVer
7575
try {
7676
changelog = await getWidgetChangelog(pkg.path);
7777
} catch {
78-
const module = await getModuleInfo(pkg.path);
78+
const module = await getPackageInfo(pkg.path);
7979
changelog = await getModuleChangelog(pkg.path, module.mxpackage.name);
8080
}
8181

0 commit comments

Comments
 (0)