Wrongly used << for generateHtaccess task. I only wanted to configure the task not doFirst