Fix verifyMessages tool task not finding English messages for todo comments

This commit is contained in:
ljacqu 2019-08-10 22:34:45 +02:00
parent 28c02fc9e9
commit f268f7cd65

View File

@ -53,7 +53,7 @@ public final class VerifyMessagesTask implements ToolTask {
FileConfiguration defaultFileConfiguration = null;
if (addMissingKeys) {
defaultFileConfiguration = YamlConfiguration.loadConfiguration(new File(DEFAULT_MESSAGES_FILE));
defaultFileConfiguration = YamlConfiguration.loadConfiguration(new File(ToolsConstants.MAIN_RESOURCES_ROOT, DEFAULT_MESSAGES_FILE));
}
// Verify the given files