JS writeFile append parameter ignored
The "append" parameter for the JS function "writeFile()" described in the wiki here seems to be ignored and is always set to false.
To reproduce this issue:
- Create a task with the Javascriptlet
writeFile("log.txt", "some random text", 1);
- Run the task and look for "log.txt". Check that "some random text" appears on line 1.
- Go back to the task and change "some random text" into "text to append".
- Run the task again.
- Check log.txt and see that "some random text" has disappeared and only "text to append" is visible.
Can anyone reproduce?
I am running Tasker 5.7.2 on Android 8.0.0.