aboutsummaryrefslogtreecommitdiffstats
path: root/src/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugin')
-rw-r--r--src/Plugin/GitHubCommit.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugin/GitHubCommit.hs b/src/Plugin/GitHubCommit.hs
index ee694b4..187f016 100644
--- a/src/Plugin/GitHubCommit.hs
+++ b/src/Plugin/GitHubCommit.hs
@@ -36,7 +36,7 @@ gitHubCommitAction message = do
\Try `git remote set origin REPO_URL`."
respond ((RepoUrlRow r):_) =
Right $ r `T.append` "/commits/" `T.append` T.pack (
- (T.unpack $ M.text message) =~ matchRegex gitHubCommit)
+ M.textStr message =~ matchRegex gitHubCommit)
type Id = Int