diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-18 15:13:37 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-18 15:14:36 -0400 |
| commit | 781e35a333d1ca930f9d94c716104c90bf28970d (patch) | |
| tree | 2d05ed84eff6dba681b4ed80a9eec3ad2ebde419 /src | |
| parent | dccdf0c0f08dc0ffc0e7c1853fadbe1ac0946030 (diff) | |
protocol is one line response, not multiline
The privdata is shown, so contains no literal newlines, so that's ok.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Protocol.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Protocol.hs b/src/Propellor/Protocol.hs index c5ebaab9..6394fc71 100644 --- a/src/Propellor/Protocol.hs +++ b/src/Propellor/Protocol.hs @@ -28,7 +28,7 @@ gitPushMarker :: String gitPushMarker = "GITPUSH" toMarked :: Marker -> String -> String -toMarked marker = intercalate "\n" . map (marker ++) . lines +toMarked marker = ++ fromMarked :: Marker -> Marked -> Maybe String fromMarked marker s |
