Skip to content

Commit

Permalink
chore: remove CLI version from generated code to avoid unnecessarily …
Browse files Browse the repository at this point in the history
…updating files
  • Loading branch information
ymc9 committed Dec 3, 2024
1 parent 5c27357 commit eba2d2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/sdk/src/code-gen.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { CompilerOptions, DiagnosticCategory, ModuleKind, Project, ScriptTarget, SourceFile } from 'ts-morph';
import pkgJson from './package.json';
import { PluginError } from './types';

/**
Expand All @@ -24,7 +23,7 @@ export function createProject(options?: CompilerOptions) {
export function saveSourceFile(sourceFile: SourceFile) {
sourceFile.replaceWithText(
`/******************************************************************************
* This file was generated by ZenStack CLI ${pkgJson.version}.
* This file was generated by ZenStack CLI.
******************************************************************************/
/* eslint-disable */
Expand Down

0 comments on commit eba2d2a

Please sign in to comment.