Skip to content

Commit

Permalink
Site update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 22, 2024
1 parent 22fb48d commit 343364c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ <h2 id="whydoestheruncommandnotformattheoutput">Why does the run command not for

<p>If you want to print the output to your terminal you have to call it in a scalar context.</p>

<pre><code class="hljs"><span class="hljs-keyword">my</span> <span class="hljs-type">$output</span> = run &quot;<span class="hljs-string">df -h</span>&quot;;
<pre><code class="hljs">my <span class="hljs-type">$output</span> = run &quot;<span class="hljs-string">df -h</span>&quot;;
say <span class="hljs-type">$output</span>;</code></pre>

<h2 id="howcanigetthecurrentserverfromwithinatask">How can I get the current server from within a task?</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/release_notes/0.4.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h2 id="rex">Rex</h2>

<p>Now you can get information of the servers hardware and configuration.</p>

<p></p><p></p><pre><code class="hljs">use <span class="hljs-function">Rex::Hardware</span>;
<p></p><p></p><pre><code class="hljs"><span class="hljs-keyword">use</span> <span class="hljs-function">Rex::Hardware</span>;
<span class="hljs-keyword">use</span> <span class="hljs-function">Data::Dumper</span>;</code></pre></li>
</ul>
desc &quot;<span class="hljs-string">Get Hardware Information</span>&quot;;
Expand Down

0 comments on commit 343364c

Please sign in to comment.