Bug #762
- Fixed bug #762, so that modifications to task are considered 'write' commands, and there update shadow files (thanks to Aikido Guy).
This commit is contained in:
@@ -312,7 +312,9 @@ int Context::dispatch (std::string &out)
|
||||
else { rc = shortUsage (out); }
|
||||
|
||||
// Only update the shadow file if such an update was not suppressed (shadow),
|
||||
if (cmd.isWriteCommand () && !inShadow)
|
||||
if ((cmd.isWriteCommand () ||
|
||||
(cmd.command == "" && sequence.size ())) &&
|
||||
!inShadow)
|
||||
shadow ();
|
||||
|
||||
return rc;
|
||||
|
||||
@@ -67,7 +67,7 @@ int handleCustomReport (const std::string& report, std::string& outs)
|
||||
split (labels, reportLabels, ',');
|
||||
|
||||
if (columns.size () != labels.size () && labels.size () != 0)
|
||||
throw std::string ("There are a different number of columns than labels ") +
|
||||
throw std::string ("There are a different number of columns and labels ") +
|
||||
"for report '" + report + "'.";
|
||||
|
||||
std::map <std::string, std::string> columnLabels;
|
||||
|
||||
Reference in New Issue
Block a user