Explorar el Código

Make WRITE-PAGE overwrite existing pages by default.

Brit Butler hace 12 años
padre
commit
930e8bb04d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/coleslaw.lisp

+ 1 - 0
src/coleslaw.lisp

@@ -36,6 +36,7 @@ Additional args to render CONTENT can be passed via RENDER-ARGS."
36 36
   (ensure-directories-exist filepath)
37 37
   (with-open-file (out filepath
38 38
                    :direction :output
39
+                   :if-exists :overwrite
39 40
                    :if-does-not-exist :create)
40 41
     (write-line page out)))
41 42