Skip to content

Commit a17ce9b

Browse files
committed
chore: remove unused includes and commented code in HookExecutor
1 parent bbc91f1 commit a17ce9b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cucumber_cpp/library/engine/HookExecutor.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@
66
#include "cucumber_cpp/library/engine/ScenarioInfo.hpp"
77
#include "cucumber_cpp/library/engine/StepInfo.hpp"
88
#include <functional>
9-
#include <optional>
109
#include <set>
11-
#include <stdexcept>
1210
#include <string>
13-
#include <utility>
1411

1512
namespace cucumber_cpp::library::engine
1613
{
@@ -37,15 +34,12 @@ namespace cucumber_cpp::library::engine
3734
: runnerContext{ runnerContext }
3835
, hookPair{ hookPair }
3936
, tags{ tags }
40-
// , executeHooks{ runnerContext.InheritedExecutionStatus() == Result::passed }
4137
{
42-
// if (executeHooks)
4338
ExecuteHook(runnerContext, hookPair.before, tags);
4439
}
4540

4641
HookExecutor::ScopedHook::~ScopedHook()
4742
{
48-
// if (executeHooks)
4943
ExecuteHook(runnerContext, hookPair.after, tags);
5044
}
5145

0 commit comments

Comments
 (0)