Skip to content

Commit b579484

Browse files
committed
fix: update plugin class name to be dynamic based on pluginName
1 parent 5cd9a3c commit b579484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/commands/createPlugin/templates/index.ts.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { IAdminForth, IHttpServer, AdminForthResourcePages, AdminForthResou
33
import type { PluginOptions } from './types.js';
44

55

6-
export default class ChatGptPlugin extends AdminForthPlugin {
6+
export default class {{pluginName}} extends AdminForthPlugin {
77
options: PluginOptions;
88

99
constructor(options: PluginOptions) {

0 commit comments

Comments
 (0)