fix(cli): improve changelog release handling and TypeScript compatibility
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ export let run = async () => {
|
||||
const rawCliMode = await getRawCliMode();
|
||||
|
||||
// get packageInfo
|
||||
const projectInfo = new plugins.projectinfo.ProjectInfo(paths.packageDir);
|
||||
const projectInfo = await plugins.projectinfo.ProjectInfo.create(paths.packageDir);
|
||||
const projectInfoVersion = (projectInfo.npm as any)?.version;
|
||||
const packageVersion =
|
||||
typeof projectInfoVersion === "string" && projectInfoVersion.length > 0
|
||||
|
||||
Reference in New Issue
Block a user