Skip to content

Commit

Permalink
fix(core): Command may be null
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Nov 22, 2023
1 parent a3ade79 commit c566dbe
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -915,7 +915,7 @@ public TemplateContext props() {
props.set(Constants.KEY_DOWNLOAD_DIRECTORY, getDownloadDirectory());
props.set(Constants.KEY_ASSEMBLE_DIRECTORY, getAssembleDirectory());
props.set(Constants.KEY_ARTIFACTS_DIRECTORY, getArtifactsDirectory());
props.set(Constants.KEY_COMMAND, getCommand().toStep());
if (null != getCommand()) props.set(Constants.KEY_COMMAND, getCommand().toStep());
return props;
}

Expand Down

0 comments on commit c566dbe

Please sign in to comment.