Skip to content

Commit 7fce0f0

Browse files
authored
chore: remove CLI version from generated code to avoid unnecessarily updating files (#1900)
1 parent 5c27357 commit 7fce0f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/sdk/src/code-gen.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { CompilerOptions, DiagnosticCategory, ModuleKind, Project, ScriptTarget, SourceFile } from 'ts-morph';
2-
import pkgJson from './package.json';
32
import { PluginError } from './types';
43

54
/**
@@ -24,7 +23,7 @@ export function createProject(options?: CompilerOptions) {
2423
export function saveSourceFile(sourceFile: SourceFile) {
2524
sourceFile.replaceWithText(
2625
`/******************************************************************************
27-
* This file was generated by ZenStack CLI ${pkgJson.version}.
26+
* This file was generated by ZenStack CLI.
2827
******************************************************************************/
2928
3029
/* eslint-disable */

0 commit comments

Comments
 (0)