Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory tasks section contains a couple of typos #8

Open
ericcornelissen opened this issue Jan 12, 2022 · 0 comments
Open

Directory tasks section contains a couple of typos #8

ericcornelissen opened this issue Jan 12, 2022 · 0 comments

Comments

@ericcornelissen
Copy link

The Directory tasks section of the website contains a couple of minor types (link to code.

As this repository seems to no longer be maintained, I'm sharing my suggestions here rather than in a Pull Request. Feel free to apply these suggestions to the code (with or without crediting me 🙂).

  <h2 class="section-heading">Directory tasks</h2>
  <p>
    Create a directory task by using the <code>directory</code> method.
  </p>
  
  <p>
-   Directory-tasks create a directory for use with for file tasks.
+   Directory-tasks create a directory for use with file tasks.
-   Jake checks for he existence of the directory, and only creates
+   Jake checks for the existence of the directory, and only creates
    it if needed.
  </p>
  
  <p>
- <pre><code class="javascript hljs">let {directory, desc } = require('jake');
+ <pre><code class="javascript hljs">let { directory, desc } = require('jake');
  
  desc('This task creates creates a directory named "bar"');
  directory('bar');</code></pre>
  </p>
  
  <p>
    A directory task can be used as a prerequisite for a
    file task, or when run from the command line.
  </p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant