aboutsummaryrefslogtreecommitdiff
path: root/src/property/file.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/property/file.lisp')
-rw-r--r--src/property/file.lisp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/property/file.lisp b/src/property/file.lisp
index cce1f1b..f536c79 100644
--- a/src/property/file.lisp
+++ b/src/property/file.lisp
@@ -31,6 +31,7 @@ point in doing that here because WRITEFILE is synchronous."
(defprop has-content :posix (path content)
"Ensure there is a file at PATH whose content is CONTENT.
CONTENT can be a list of lines or a single string."
+ (declare (indent 1))
(:apply (writefile path (if (listp content) (unlines content) content))))
(defprop contains-lines :posix (path lines)