Skip to content
Snippets Groups Projects
Verified Commit 378b769d authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- isvalid output in human readable output improved

parent b4683ba8
Branches
Tags
No related merge requests found
...@@ -254,7 +254,16 @@ sub prepare_for_table($results) { ## no critic (CognitiveComplexity::ProhibitExc ...@@ -254,7 +254,16 @@ sub prepare_for_table($results) { ## no critic (CognitiveComplexity::ProhibitExc
sub _print_aip($line) { sub _print_aip($line) {
my $aipid=$line->{aipid}; my $aipid=$line->{aipid};
#my $isvalid=($line->{isvalid}?"valid (✅)":"*invalid* (❎)"); #my $isvalid=($line->{isvalid}?"valid (✅)":"*invalid* (❎)");
my $isvalid=($line->{isvalid}?"valid":"invalid"); my $isvalid;
if ($line->{isvalid} == 1) {
$isvalid="valid";
} elsif ($line->{isvalid} == 0) {
$isvalid="invalid";
} elsif ($line->{isvalid} == -1) {
$isvalid="not accessible or not a dir";
} else {
$isvalid="unknown";
}
my $lzaid=$line->{lzaid}?"With lzaid '$line->{lzaid}'":"No lzaid defined"; my $lzaid=$line->{lzaid}?"With lzaid '$line->{lzaid}'":"No lzaid defined";
my $path=$line->{filePath}; my $path=$line->{filePath};
my $mapped = $line->{localPath}; my $mapped = $line->{localPath};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment