Skip to content

Commit 0015d45

Browse files
jdneofbricon
authored andcommitted
Fix the package statement missing when creating java files
Signed-off-by: Sheng Chen <[email protected]>
1 parent d6a2fd5 commit 0015d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fileEventHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function handleNewJavaFiles(e: FileCreateEvent) {
9090
}
9191

9292
if (!isModuleInfo) {
93-
if (context.package_name) {
93+
if (context.packageName) {
9494
snippets.push(`package ${context.packageName};`);
9595
snippets.push("");
9696
}

0 commit comments

Comments
 (0)