Solved

You Fixed an Issue in a Third-Party Extension Using a Patch

Question 22

Multiple Choice

You fixed an issue in a third-party extension using a patch named m2-hotfixes/extension-fix.patch . Before committing the patch to the repository you want to test it locally. How do you test a patch in a clean working copy?


A) Commit the patch because the pre-commit hook will abort the commit if any hotfix causes an issue
B) Run the command git apply m2-hotfixes/extension-fix.patch Run the command git apply
C) Run the command bin/magento setup:hotfix:apply --patch=m2-hotfixes/extension-fix.patch Run the command bin/magento setup:hotfix:apply --patch=m2-hotfixes/extension-fix.patch
D) Configure a deploy hook in .magento.app.yaml that executes vendor/bin/ece-tools hotfix:apply --dry-run Configure a deploy hook in .magento.app.yaml that executes vendor/bin/ece-tools hotfix:apply --dry-run

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents