Skip to content

Commit 0f11279

Browse files
committed
fix: correct path conversion in UnsupportedAsteriskError exception
1 parent 86a5d03 commit 0f11279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cucumber_cpp/library/engine/FeatureFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ namespace cucumber_cpp::library::engine
159159
catch (const std::out_of_range& e)
160160
{
161161

162-
throw UnsupportedAsteriskError{ std::format("{}:{}: * steps are not supported", scenarioInfo.FeatureInfo().Path().c_str(), step.location.line) };
162+
throw UnsupportedAsteriskError{ std::format("{}:{}: * steps are not supported", scenarioInfo.FeatureInfo().Path().string(), step.location.line) };
163163
}
164164
}
165165

0 commit comments

Comments
 (0)