mirror of
https://github.com/peter-evans/create-pull-request.git
synced 2026-05-14 02:22:41 +00:00
fix: avoid issue with case sensitivity of repo names (#1179)
* fix: avoid issue with case sensitivity in condition * chore: upgrade jest to v28
This commit is contained in:
Vendored
+1
-1
@@ -968,7 +968,7 @@ class GitHubHelper {
|
||||
}
|
||||
catch (e) {
|
||||
if (e.message &&
|
||||
e.message.includes(`A pull request already exists for ${headBranch}`)) {
|
||||
e.message.includes(`A pull request already exists for`)) {
|
||||
core.info(`A pull request already exists for ${headBranch}`);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user