Skip to content

Commit

Permalink
Site update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Apr 29, 2024
1 parent 96dbdb9 commit e7bef2f
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">my <span class="hljs-type">$output</span> = run &quot;<span class="hljs-string">df -h</span>&quot;;
<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;;
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/guides/start_using__r__ex.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h2 id="creatingarexfile">Creating a Rexfile</h2>

<p>Now change into this directory and create a file called Rexfile with the following contents:</p>

<pre><code class="hljs"><span class="hljs-keyword">use</span> Rex -feature =&gt; [&#39;<span class="hljs-string">1.4</span>&#39;];
<pre><code class="hljs">use Rex -feature =&gt; [&#39;<span class="hljs-string">1.4</span>&#39;];

user &#39;<span class="hljs-string">my-user</span>&#39;;
password &#39;<span class="hljs-string">my-password</span>&#39;;
Expand Down

0 comments on commit e7bef2f

Please sign in to comment.