Skip to content

Commit

Permalink
Merge pull request #1 from darthmachina/1.0.1-inline-field-syntax
Browse files Browse the repository at this point in the history
Adjusted project slug regular expression to allow for inline field syntax
  • Loading branch information
darthmachina authored Aug 24, 2023
2 parents 1834b00 + b8b9396 commit 0785261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const plugin =
{
// --------------------------------------------------------------------------------------
constants: {
version: "1.0.0",
githubSlugRegex: new RegExp("github project\\s*:\\s*([a-z\\/\\-]+)", "mi")
version: "1.0.1",
githubSlugRegex: /github project\s*:{1,2}\s*([a-z\/\-]+)/mi
},

// --------------------------------------------------------------------------
Expand Down

0 comments on commit 0785261

Please sign in to comment.