Skip to content

Write file output option error #40

@prestancedesign

Description

@prestancedesign

Hi,

When I use --output option, the output file is created but is empty and I have this error:

$ bootleg -o test.html simple.clj
Exception in thread "main" java.lang.IllegalArgumentException: No matching method write found taking 1 args for class java.io.BufferedWriter
	at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:127)
	at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
	at bootleg.core$output_result.invokeStatic(core.clj:46)
	at bootleg.core$output_result.invoke(core.clj:39)
	at bootleg.core$_main.invokeStatic(core.clj:72)
	at bootleg.core$_main.doInvoke(core.clj:52)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at bootleg.core.main(Unknown Source)

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions