Skip to content

Commit

Permalink
Code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Aug 29, 2024
1 parent 67c6a30 commit 5b97154
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ public Response init( ProjectInitInput input) {
ProjectInitOutput output = new ProjectInitOutput();
try ( ByteArrayOutputStream buffer = new ByteArrayOutputStream() ) {
File projectDir = this.initConfigWorker( input.getArtifactId() );
checkIfInTempFolder( projectDir ); // security check
File realDir = new File( projectDir, input.getArtifactId() );
checkIfInTempFolder( realDir ); // security check
log.info( "project init folder : {}", realDir.getAbsolutePath() );
MojoInit mojoInit = new MojoInit() {
@Override
Expand Down

0 comments on commit 5b97154

Please sign in to comment.