mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 00:31:45 +08:00

In non secure contexts (HTTP vs HTTPS) which many run in development the `clipboardCopy` method falls back to and an exec hack. However, callers expect a promise from this method and the fallback just returns a boolean.