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:
authorEvan Read <eread@gitlab.com>2022-07-07 03:28:07 +0300
committerEvan Read <eread@gitlab.com>2022-07-07 03:28:07 +0300
commit085b285e9efffa317c4457a9cb061ba1b794491a (patch)
treea2bf9d061292e85088147d4b1a0d20b2ec6265dd
parentd3ce55082b3df44d81eb577d89b5a66a9573d707 (diff)
Raise error if postprocessing failseread/raise-error-if-postprocessing-fails
-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