diff --git a/CHANGELOG.md b/CHANGELOG.md index 79eb9de..aa787b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). +## v0.2.0 + +### Updated + +- Also match comments starting with wip + ## v0.1.1 ### Fixed diff --git a/inprogress/inprogress.go b/inprogress/inprogress.go index 205a258..13afaa4 100644 --- a/inprogress/inprogress.go +++ b/inprogress/inprogress.go @@ -320,7 +320,7 @@ func WriteToFile(inProgressSpecs map[string]InProgressSpec, inProgressScenariosW } func containsInProgressPrefix(comment string) bool { - var inProgressRegex = regexp.MustCompile(`^in.?progress|//.*in.?progress`) + var inProgressRegex = regexp.MustCompile(`^in.?progress|//.?in.?progress|^wip|^//.?wip`) return inProgressRegex.MatchString(strings.ToLower(strings.TrimSpace(comment))) } diff --git a/plugin.json b/plugin.json index f17a4ec..db56cec 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,6 @@ { "id" : "inprogress", - "version" : "0.1.1", + "version" : "0.2.0", "name" : "In-progress", "description" : "Plugin for tracking in-progress specs/scenarios.", "install": {