public string GetPath(ILogger log)
{
string path = _configurationManager.AppSettings[AppSettingKeys.MigrateFolder];
if (string.IsNullOrEmpty(path))
{
if (log != null)
{
log.WriteWarning(
"The " + AppSettingKeys.MigrateFolder + " setting was not present in the configuration file so the default " +
DefaultMigrationScriptPath + " folder will be used instead.");
}
path = DefaultMigrationScriptPath;
}
VerifyAndCreatePath(path);
return path;
}