File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
ml-data-hub-plugin/src/main/groovy/com/marklogic/gradle/task Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ class PreinstallCheckTask extends HubTask {
2727 void runPreinstallCheck () {
2828 DataHub dh = getDataHub();
2929 def preInstallCheck = dh. runPreInstallCheck()
30- if (preInstallCheck. get(" safeToInstall" ) == null ) {
30+ if (preInstallCheck. get(" safeToInstall" )) {
31+ print (" PreInstall check: [PASSED]" )
32+ }
33+ else {
3134 StringBuilder sb = new StringBuilder ();
3235 sb. append(" PreInstall Check: [FAILED]\n " )
3336 .append(" ---------------------------------------\n " )
@@ -55,11 +58,5 @@ class PreinstallCheckTask extends HubTask {
5558
5659 throw new TaskExecutionException (this , new Throwable (sb. toString()))
5760 }
58-
59- if (preInstallCheck. get(" safeToInstall" )) {
60- print (" DHF is not installed. Run mlDeploy task to install DHF" )
61- } else {
62- print (" DHF Version: " + preInstallCheck. get(" dhfVersion" ) + " is installed" )
63- }
6461 }
65- }
62+ }
You can’t perform that action at this time.
0 commit comments