Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

fix regex again #550

Merged
merged 1 commit into from
Sep 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Update/AutoLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ if (!TrustedUsers.includes(User)) {
process.exit(0);
}

let NewData = Data.replaceAll(/\/[a-zA-Z-_]+|( first issue)/g, (match) => {
let NewData = Data.replaceAll(/(\/good first issue)|\/[A-Za-z_-]+/g, (match) => {
console.log("Found command " + match);
let Label = match.substring(1);
if (Label.startsWith("-")) {
Expand Down