Skip to content

Commit 3a8da4e

Browse files
committed
fixup! feat(docs-infra): update CLI templates to match changes with new parser and folder structure
1 parent 34aedc3 commit 3a8da4e

File tree

1 file changed

+1
-1
lines changed
  • aio/tools/transforms/templates/cli/lib

1 file changed

+1
-1
lines changed

aio/tools/transforms/templates/cli/lib/cli.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
{% if option.aliases.length %}<p><span class="cli-aliases">Aliases:</span> {% for alias in option.aliases %}{$ renderOptionName(alias) $}{% if not loop.last %}, {% endif %}{% endfor %}</p>{% endif %}
6363
</td>
6464
<td><code class="no-auto-link">{$ renderOptionValues(option.type, option.enum) $}</td>
65-
<td>{% if option.default !== undefined %}{% if option.default !== '' %}<code class="no-auto-link">{$ option.default $}</code>{% endif %}{% endif %}</td>
65+
<td>{% if option.default !== undefined and option.default !== '' %}<code class="no-auto-link">{$ option.default $}</code>{% endif %}</td>
6666
</tr>
6767
{% endfor %}
6868
</tbody>

0 commit comments

Comments
 (0)