diff options
| author | Teddy Wing | 2017-07-30 18:03:11 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-07-30 18:03:11 +0200 |
| commit | bee8faa9804d37e3912e3704dbf03fc1c02eeb84 (patch) | |
| tree | 18ded2ee5f5985fb749c18bd3f68cacc7807eff2 /src/Plugin | |
| parent | 4bb65c50a2a85404af6d122acc53b6fb1739652b (diff) | |
| download | sorbot-bee8faa9804d37e3912e3704dbf03fc1c02eeb84.tar.bz2 | |
performPlugin: Use the correct match string
I had been using the regex instead of the match result. Do another regex
match to correctly output our SHA instead of the match regex.
I had tried putting the `=~` match in another function and using it from
here and in the list comprehension in `matchPlugins`, but then found out
that, of course, the return types didn't agree (`matchPlugins` needs a
`Bool` and `performPlugin` needs a `String`). Ended up dispensing with
the extra function and doing the match both times instead.
Diffstat (limited to 'src/Plugin')
0 files changed, 0 insertions, 0 deletions
