Skip to content
Snippets Groups Projects
Commit 4ef12ff5 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: check val before migrating

parent ff19fb44
No related branches found
No related tags found
No related merge requests found
......@@ -365,6 +365,7 @@ function migrateConfig(config) {
}
} else if (
(key === 'prBody' || key.startsWith('commitMessage')) &&
val &&
(val.includes('currentVersion') || val.includes('newVersion'))
) {
isMigrated = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment