summary refs log tree commit diff
path: root/book.toml
diff options
context:
space:
mode:
authorDan Callahan <danc@element.io>2021-10-21 23:38:29 +0100
committerDan Callahan <danc@element.io>2021-10-22 23:08:54 +0100
commit99e698d6ed4ac307fa0be1e5dcce4bba0b2d7069 (patch)
tree4afaa54745dfb4ef1ef7bb5db4f6b138005a938a /book.toml
parentFix Shellcheck SC2155: Declare + export separately (diff)
downloadsynapse-99e698d6ed4ac307fa0be1e5dcce4bba0b2d7069.tar.xz
Fix Shellcheck SC2089 and SC2090: Quotes in vars
SC2089: Quotes/backslashes will be treated literally. Use an array.

https://github.com/koalaman/shellcheck/wiki/SC2089

SC2090: Quotes/backslashes in this variable will not be respected.

https://github.com/koalaman/shellcheck/wiki/SC2090

Putting literal JSON in a variable mistakenly triggers these warnings.
Instead of adding ignore directives, this can be avoided by inlining the
JSON data into the curl invocation.

Since the variable is only used in this one location, inlining is fine.

Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to 'book.toml')
0 files changed, 0 insertions, 0 deletions