diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-07-21 11:15:05 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-07-21 11:15:05 -0400 |
| commit | e4ecda210bd56cc0e233c3b635ac551d6ddce543 (patch) | |
| tree | 9d4a092a590045841c75f4e7af2a33b19e699f67 /src/Propellor/Property.hs | |
| parent | 7ff39bb09840c27b4bd04f692dff2e4d45c83924 (diff) | |
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.
Diffstat (limited to 'src/Propellor/Property.hs')
| -rw-r--r-- | src/Propellor/Property.hs | 2 |
1 files changed, 0 insertions, 2 deletions
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 |
