Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
[DOCS] Improve docs on using composer patch
Browse files Browse the repository at this point in the history
Add note to use `composer-exit-on-patch-failure` to get notice about an error on patching.
  • Loading branch information
kanow authored Oct 10, 2024
1 parent f1e103d commit c69f8e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/ApplyingCorePatches/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,18 @@ add one.
"typo3/cms": {
"web-dir": "public"
},
"composer-exit-on-patch-failure": true,
"patches": {
"typo3/cms-core": {
"Bug #98106 fix something":"patches/Bug-98106.diff"
}
}
}
.. note::
Use :bash:`composer-exit-on-patch-failure` to exit the running process on patch failures.
Otherwise, you may not notice the error.

The patch itself looks like this:

.. code-block:: diff
Expand Down

0 comments on commit c69f8e0

Please sign in to comment.