Skip to content

Commit

Permalink
Fix the package statement missing when creating java files
Browse files Browse the repository at this point in the history
Signed-off-by: Sheng Chen <[email protected]>
  • Loading branch information
jdneo authored and fbricon committed Sep 22, 2022
1 parent d6a2fd5 commit 0015d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fileEventHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async function handleNewJavaFiles(e: FileCreateEvent) {
}

if (!isModuleInfo) {
if (context.package_name) {
if (context.packageName) {
snippets.push(`package ${context.packageName};`);
snippets.push("");
}
Expand Down

0 comments on commit 0015d45

Please sign in to comment.