I'm torn between "Run this bash script to create this file" and "The
file should look like this" and open to ideas for clarity, but I think
adding the backslash is more likely to be noticed by someone who creates
the file without using the heredoc than the other way around.

Fixes #1335
This commit is contained in:
Josh Lee 2024-06-28 11:51:58 -04:00 committed by GitHub
parent f5b39b0fba
commit e939b388b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,7 @@ Every zip-based Lambda function runs a file called `bootstrap`.
cat <<EOF >src/bootstrap
#!/bin/sh
set -eu
exec martin --config ${_HANDLER}.yaml
exec martin --config \${_HANDLER}.yaml
EOF
```