Skip to content

Commit

Permalink
Merge pull request #140 from tmancill/startup-vars
Browse files Browse the repository at this point in the history
warn user when short-circuiting initialisation
  • Loading branch information
duncs committed Jun 29, 2021
2 parents 6cbec68 + 0b5b5c8 commit 70b4731
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/App/ClusterSSH/Window.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ sub import {

# If we are building or in test here, just exit
# as travis build servers will not have Tk installed
return if $ENV{AUTHOR_TESTING} || $ENV{RELEASE_TESTING};
if ($ENV{AUTHOR_TESTING} || $ENV{RELEASE_TESTING}) {
print STDERR "skipping initialisation; AUTHOR_TESTING or RELEASE_TESTING are set\n";
return;
}

# Find what windows module we should be using and just overlay it into
# this object
Expand Down

0 comments on commit 70b4731

Please sign in to comment.