We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea57da commit 37fe178Copy full SHA for 37fe178
lib/updaters/index.js
@@ -35,12 +35,12 @@ function getUpdaterByFilename(filename) {
35
if (filename.endsWith('.csproj')) {
36
return getUpdaterByType('csproj');
37
}
38
- if (/\.ya?ml$/.test(filename)) {
39
- return getUpdaterByType('yaml');
40
- }
41
if (/openapi.yaml/.test(filename)) {
42
return getUpdaterByType('openapi');
43
+ if (/\.ya?ml$/.test(filename)) {
+ return getUpdaterByType('yaml');
+ }
44
throw Error(
45
`Unsupported file (${filename}) provided for bumping.\n Please specify the updater \`type\` or use a custom \`updater\`.`,
46
);
0 commit comments