Skip to content

Commit

Permalink
Site update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 31, 2023
1 parent 828b6a7 commit 321e6e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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/release_notes/0.42.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h4 id="net::opensshconnectionmode-chenryn">Net::OpenSSH connection mode - chenr

<p>This fixes long standing pull request #70.</p>

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

set connection =&gt; &#39;<span class="hljs-string">OpenSSH</span>&#39;;

Expand Down
2 changes: 1 addition & 1 deletion docs/release_notes/1.9.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h2 id="newfeatures">New features</h2>

<p>It is intended to complement the <code>utf8</code> pragma in Rexfiles and modules:</p>

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ <h1>Getting information of the environment</h1>

<p>Rex comes with a hardware gathering module. To display all the things Rex knows about the environment your can create a test task that just dumps all the information.</p>

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

task &quot;<span class="hljs-string">dump-info</span>&quot;, <span class="hljs-keyword">sub </span>{
dump_system_information;
Expand Down

0 comments on commit 321e6e1

Please sign in to comment.