Skip to content

Commit

Permalink
publish: Do not apply asset_hash on .svg files (#407)
Browse files Browse the repository at this point in the history
generated from commit 04e155025f60085fddfa6685eeb803e80ef14c2f
  • Loading branch information
eemeli committed Aug 5, 2023
1 parent edae5e8 commit 5ad201d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/07_parsing_yaml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ as this function does not support any schema operations and won't check for
<span class="p">]</span>
<span class="p">}</span>

<span class="nx">YAML</span><span class="p">.</span><span class="nx">resolveAsScalar</span><span class="p">(</span><span class="nx">item</span><span class="p">)</span>
<span class="nx">CST</span><span class="p">.</span><span class="nx">resolveAsScalar</span><span class="p">(</span><span class="nx">item</span><span class="p">)</span>
<span class="o">&gt;</span> <span class="p">{</span> <span class="na">value</span><span class="p">:</span> <span class="dl">'</span><span class="s1">bar</span><span class="dl">'</span><span class="p">,</span> <span class="na">type</span><span class="p">:</span> <span class="dl">'</span><span class="s1">QUOTE_DOUBLE</span><span class="dl">'</span><span class="p">,</span> <span class="na">comment</span><span class="p">:</span> <span class="dl">'</span><span class="s1">comment</span><span class="dl">'</span><span class="p">,</span> <span class="na">range</span><span class="p">:</span> <span class="p">[</span><span class="mi">5</span><span class="p">,</span> <span class="mi">9</span><span class="p">,</span> <span class="mi">19</span><span class="p">]</span> <span class="p">}</span>
</code></pre></div><h4 id='cst-iscollection-token-token-boolean'><code>CST.isCollection(token?: Token): boolean</code></h4><h4 id='cst-isscalar-token-token-boolean'><code>CST.isScalar(token?: Token): boolean</code></h4>
<p>Custom type guards for detecting CST collections and scalars, in both their block and flow forms.</p>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2376,7 +2376,7 @@ <h4 id='cst-createscalartoken-value-string-context-blockscalar-flowscalar'><code
<span class="p">]</span>
<span class="p">}</span>

<span class="nx">YAML</span><span class="p">.</span><span class="nx">resolveAsScalar</span><span class="p">(</span><span class="nx">item</span><span class="p">)</span>
<span class="nx">CST</span><span class="p">.</span><span class="nx">resolveAsScalar</span><span class="p">(</span><span class="nx">item</span><span class="p">)</span>
<span class="o">&gt;</span> <span class="p">{</span> <span class="na">value</span><span class="p">:</span> <span class="dl">'</span><span class="s1">bar</span><span class="dl">'</span><span class="p">,</span> <span class="na">type</span><span class="p">:</span> <span class="dl">'</span><span class="s1">QUOTE_DOUBLE</span><span class="dl">'</span><span class="p">,</span> <span class="na">comment</span><span class="p">:</span> <span class="dl">'</span><span class="s1">comment</span><span class="dl">'</span><span class="p">,</span> <span class="na">range</span><span class="p">:</span> <span class="p">[</span><span class="mi">5</span><span class="p">,</span> <span class="mi">9</span><span class="p">,</span> <span class="mi">19</span><span class="p">]</span> <span class="p">}</span>
</code></pre></div><h4 id='cst-iscollection-token-token-boolean'><code>CST.isCollection(token?: Token): boolean</code></h4><h4 id='cst-isscalar-token-token-boolean'><code>CST.isScalar(token?: Token): boolean</code></h4>
<p>Custom type guards for detecting CST collections and scalars, in both their block and flow forms.</p>
Expand Down

0 comments on commit 5ad201d

Please sign in to comment.