Skip to content

Commit

Permalink
Updated feature file loading logic
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Dec 22, 2024
1 parent c9e77b9 commit cca543f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class FeatureFileLoader {

public Optional<Feature> featureFrom(URI featureFileUri) {

String defaultFeatureId = new File(featureFileUri).getName().replace(".feature", "");
String defaultFeatureId = new File(featureFileUri.toString()).getName().replace(".feature", "");
String defaultFeatureName = Inflector.getInstance().humanize(defaultFeatureId);

parseGherkinIn(featureFileUri);
Expand Down

0 comments on commit cca543f

Please sign in to comment.