mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 19:17:19 +02:00
Hooks
- Bug due to missing reference & in calls to callHookScript. Dumbass.
This commit is contained in:
parent
f1639e6862
commit
719e9d242b
2 changed files with 2 additions and 2 deletions
|
@ -449,7 +449,7 @@ bool Hooks::isJSON (const std::string& input) const
|
||||||
int Hooks::callHookScript (
|
int Hooks::callHookScript (
|
||||||
const std::string& script,
|
const std::string& script,
|
||||||
const std::vector <std::string>& input,
|
const std::vector <std::string>& input,
|
||||||
std::vector <std::string> output)
|
std::vector <std::string>& output)
|
||||||
{
|
{
|
||||||
if (_debug >= 1)
|
if (_debug >= 1)
|
||||||
context.debug ("Hooks: Calling " + script);
|
context.debug ("Hooks: Calling " + script);
|
||||||
|
|
|
@ -52,7 +52,7 @@ public:
|
||||||
private:
|
private:
|
||||||
std::vector <std::string> scripts (const std::string&);
|
std::vector <std::string> scripts (const std::string&);
|
||||||
bool isJSON (const std::string&) const;
|
bool isJSON (const std::string&) const;
|
||||||
int callHookScript (const std::string&, const std::vector <std::string>&, std::vector <std::string>);
|
int callHookScript (const std::string&, const std::vector <std::string>&, std::vector <std::string>&);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool _enabled;
|
bool _enabled;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue