Stopping client complaining when I delete all files from a sync folder


I have a folder which I automatically sync to my Nextcloud which is regularly purged to leave nothing in it. However when the folder empties, I get a message pop up.

“This sync would remove all the files in the sync folder…”

And I have to click to remove all files.

Is there any way I can stop this message popping up?

Nextcloud client version 2.2.4 (build 2) on Windows 10. Nextcloud is 11.0.1 running on a Raspberry Pi (not sure how relevant this info is to my question).