Skip to content

Commit 7079a88

Browse files
authored
Merge pull request cds-hooks#523 from buildpacks/fix-518
Use append in code snippet
2 parents 8908131 + 4c4f58b commit 7079a88

File tree

2 files changed

+2
-2
lines changed
  • content/docs/buildpack-author-guide/create-buildpack
  • katacoda/scenarios/buildpack-author-guide

2 files changed

+2
-2
lines changed

content/docs/buildpack-author-guide/create-buildpack/caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ else
169169
# Determine if there has been a gem dependency change and install new gems to the bundler layer; re-using existing and un-changed gems
170170
echo "---> Installing gems"
171171
mkdir -p "$bundlerlayer"
172-
cat > "$layersdir/bundler.toml" << EOL
172+
cat >> "$layersdir/bundler.toml" << EOL
173173
[metadata]
174174
checksum = "$local_bundler_checksum"
175175
EOL

katacoda/scenarios/buildpack-author-guide/caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ else
165165
# Determine if there has been a gem dependency change and install new gems to the bundler layer; re-using existing and un-changed gems
166166
echo "---> Installing gems"
167167
mkdir -p "$bundlerlayer"
168-
cat > "$layersdir/bundler.toml" << EOL
168+
cat >> "$layersdir/bundler.toml" << EOL
169169
[metadata]
170170
checksum = "$local_bundler_checksum"
171171
EOL

0 commit comments

Comments
 (0)