lib/lamby/templates/http.rb in lamby-2.1.0 vs lib/lamby/templates/http.rb in lamby-2.2.0
- old
+ new
@@ -8,10 +8,10 @@
copy_file tpl_file('template.yaml'), app_file('template.yaml')
gsub_file app_file('template.yaml'), /APPNAMEHERE/, appname
say 'Adding to .gitignore...'
FileUtils.touch app_file('.gitignore')
-append_to_file app_file('.gitignore'), <<-GITIGNORE.strip_heredoc
+append_to_file app_file('.gitignore'), <<~GITIGNORE
# Lamby
/.aws-sam
GITIGNORE
say 'Creating ./bin files for build and deploy...'