Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit b89393a

Browse files
committed
Fix detection of deleted time
Changed Regex from "subtracted ... time" to "deleted ... time". Signed-off-by: Daniel Hahn <[email protected]>
1 parent ec5ca47 commit b89393a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/hasTimes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const Base = require('./base');
55
const Time = require('./time');
66

77
const regex = /added (.*) of time spent(?: at (.*))?/i;
8-
const subRegex = /subtracted (.*) of time spent(?: at (.*))?/i;
8+
const subRegex = /deleted (.*) of spent time(?: from (.*))?/i;
99
const removeRegex = /Removed time spent/i;
1010

1111
/**

0 commit comments

Comments
 (0)