diff options
author | Teddy Wing | 2017-08-20 00:45:13 +0200 |
---|---|---|
committer | Teddy Wing | 2017-08-20 00:45:13 +0200 |
commit | 473b9098763000f6b1e5c531f2bd6c8b2f8a40c1 (patch) | |
tree | 24586879e7c7d0a43423b8defecfd8b28906dea9 | |
parent | 2d94eb37d15032636acb08af43e3c5906bedcc45 (diff) | |
download | sorbot-473b9098763000f6b1e5c531f2bd6c8b2f8a40c1.tar.bz2 |
Vertically align record fields in plugins
Since the style we're following favours vertical alignment, align these
record definitions aroung the `=` signs.
-rw-r--r-- | src/Plugin/GitHubCommit.hs | 6 | ||||
-rw-r--r-- | src/Plugin/GitRemoteSetOrigin.hs | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Plugin/GitHubCommit.hs b/src/Plugin/GitHubCommit.hs index c4dd2ca..9c32462 100644 --- a/src/Plugin/GitHubCommit.hs +++ b/src/Plugin/GitHubCommit.hs @@ -15,9 +15,9 @@ import qualified Message as M import Plugin.Base gitHubCommit = Plugin - { matchRegex = "^[0-9a-f]{40}$" - , perform = gitHubCommitAction - , command = "GIT_SHA" + { matchRegex = "^[0-9a-f]{40}$" + , perform = gitHubCommitAction + , command = "GIT_SHA" , description = "Generate a commit URL based on the given SHA." } diff --git a/src/Plugin/GitRemoteSetOrigin.hs b/src/Plugin/GitRemoteSetOrigin.hs index 5b2aad2..a0d0fa7 100644 --- a/src/Plugin/GitRemoteSetOrigin.hs +++ b/src/Plugin/GitRemoteSetOrigin.hs @@ -14,9 +14,9 @@ import qualified Message as M import Plugin.Base gitRemoteSetOrigin = Plugin - { matchRegex = "^git remote set origin ([^ ]+)$" - , perform = gitRemoteSetOriginAction - , command = "git remote set origin URL" + { matchRegex = "^git remote set origin ([^ ]+)$" + , perform = gitRemoteSetOriginAction + , command = "git remote set origin URL" , description = "Set the git remote URL for this channel." } |