Commit 72c99cc2 authored by Jonathon Duerig's avatar Jonathon Duerig

Make CheckRspec a warning in the logs rather than a fatal error for now.

parent 3bb68ffa
......@@ -1393,12 +1393,12 @@ sub CheckRspec
print $fh $rspec;
close($fh);
my $rspecerrors = `$RSPECLINT $filename 2>&1`;
if ($?) {
unlink($filename);
$result = GeniResponse->Create(GENIRESPONSE_ERROR,
$rspecerrors,
$type . " rspec does not validate");
}
#if ($?) {
# unlink($filename);
# $result = GeniResponse->Create(GENIRESPONSE_ERROR,
# $rspecerrors,
# $type . " rspec does not validate");
#}
if ($rspecerrors ne "") {
print STDERR "--- BEGIN RSPECLINT ERRORS $type ---\n";
print STDERR $rspecerrors;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment