Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2022-07-07 17:25:02 +0300
committerMarcel Amirault <mamirault@gitlab.com>2022-07-07 17:25:02 +0300
commitdcfbd7b5fa1cbfe1f165ac15734e0f28e7614c50 (patch)
tree013042eba81313c2f0101f984d8f022ad75d033d
parentc1a9a50cad3bd69320456ff33b028122a2cdfd26 (diff)
parent085b285e9efffa317c4457a9cb061ba1b794491a (diff)
Merge branch 'eread/raise-error-if-postprocessing-fails' into 'main'
Raise error if postprocessing fails See merge request gitlab-org/gitlab-docs!2899
-rw-r--r--Rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules b/Rules
index e5e301f1..d263a129 100644
--- a/Rules
+++ b/Rules
@@ -164,7 +164,7 @@ layout '/**/*', :erb
passthrough '/favicon.ico'
postprocess do
- system('nanoc frontend')
+ raise "postprocessing error" unless system('nanoc frontend')
Gitlab::SymlinksConverter.run(config, items)
end