Skip to content

Commit

Permalink
Fix import bug
Browse files Browse the repository at this point in the history
  • Loading branch information
flow-jort authored and MCKanpolat committed May 2, 2023
1 parent 808890a commit b0314e8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/versionBuilder.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as core from '@actions/core'
import semver from 'semver'
import matcher from 'matcher'
import {isMatch} from 'matcher'
import * as github from '@actions/github'
import {Context} from '@actions/github/lib/context'

Expand Down Expand Up @@ -39,7 +39,7 @@ export function increment(
let msgMatch = false
for (const [key, value] of Object.entries(defaultConfig)) {
for (const releaseType of value) {
if (matcher.isMatch(message, `*#${releaseType}*`)) {
if (isMatch(message, `*#${releaseType}*`)) {
matchedLabels.push(key)
msgMatch = true
}
Expand Down

0 comments on commit b0314e8

Please sign in to comment.