From e4ecda210bd56cc0e233c3b635ac551d6ddce543 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 21 Jul 2015 11:15:05 -0400 Subject: remove caution comment I think this was inherited from flagFile, but the reasons to use caution when using flagFile (that it makes code to satisfy a property only run once) don't apply when using onChangeFlagOnFail. --- src/Propellor/Property.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Propellor/Property.hs') diff --git a/src/Propellor/Property.hs b/src/Propellor/Property.hs index 4da9acf3..339cb303 100644 --- a/src/Propellor/Property.hs +++ b/src/Propellor/Property.hs @@ -61,8 +61,6 @@ onChange = combineWith $ \p hook -> do -- With `onChange`, if y fails, the property x `onChange` y returns -- `FailedChange`. But if this property is applied again, it returns -- `NoChange`. This behavior can cause trouble... --- --- Use with caution. onChangeFlagOnFail :: (Combines (Property x) (Property y)) => FilePath -- cgit v1.2.3