From 23399416f1ba89894f65f61b436c2b0f8378e6c5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 14 Dec 2014 16:14:05 -0400 Subject: broke up big function to describe PrivDataField --- src/Propellor/Property/File.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor/Property/File.hs') diff --git a/src/Propellor/Property/File.hs b/src/Propellor/Property/File.hs index a1a86763..76de68c0 100644 --- a/src/Propellor/Property/File.hs +++ b/src/Propellor/Property/File.hs @@ -29,7 +29,7 @@ hasPrivContentExposed = hasPrivContent' writeFile hasPrivContent' :: IsContext c => (String -> FilePath -> IO ()) -> FilePath -> c -> Property hasPrivContent' writer f context = - withPrivData (PrivFile f) context $ \getcontent -> + withPrivData (PrivDataSourceFile (PrivFile f) f) context $ \getcontent -> property desc $ getcontent $ \privcontent -> ensureProperty $ fileProperty' writer desc (\_oldcontent -> lines privcontent) f -- cgit v1.3-2-g0d8e