Skip to content

Commit

Permalink
Fix DotEnv test for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Feb 16, 2021
1 parent 035ba31 commit 8fd143e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private SmallRyeConfig buildConfig(Map<String, String> configMap) throws IOExcep
}
}
builder.withSources(
new ConfigUtils.BuildTimeDotEnvConfigSourceProvider(dotEnv.toString()).getConfigSources(classLoader));
new ConfigUtils.BuildTimeDotEnvConfigSourceProvider(dotEnv.toUri().toString()).getConfigSources(classLoader));
final SmallRyeConfig config = builder.build();
Files.delete(dotEnv);
cpr.registerConfig(config, classLoader);
Expand Down

0 comments on commit 8fd143e

Please sign in to comment.