From fef87bd956762c7e689b4937ec7633b298566f14 Mon Sep 17 00:00:00 2001 From: Benjamin Coe Date: Wed, 10 Apr 2019 17:01:15 -0700 Subject: [PATCH] fix: None was printing in samples/README if introduction missing --- synthtool/gcp/templates/node_library/samples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synthtool/gcp/templates/node_library/samples/README.md b/synthtool/gcp/templates/node_library/samples/README.md index 5adea4e61..971e3e120 100644 --- a/synthtool/gcp/templates/node_library/samples/README.md +++ b/synthtool/gcp/templates/node_library/samples/README.md @@ -6,7 +6,7 @@ [![Open in Cloud Shell][shell_img]][shell_link] -{{ metadata['partials'] and metadata['partials']['introduction'] }} +{% if metadata['partials'] and metadata['partials']['introduction'] %}{{ metadata['partials']['introduction'] }}{% endif %} ## Table of Contents