This diagnostic assesses your ability to use native Promises with the Node File System module.
- Fork and clone this repository.
- Change into the new directory.
- Install dependencies.
- Create and checkout a new branch, named
response
. - Follow the directions given in
lib/diagnostic.js
. - Before the alotted time is up, push to your fork and issue a pull request.
Your pull request description should contain a "fist to five" for comfort and clarity. Additionally, you should mention the resources you used to help you complete this assessment. For example:
Comfort: 3
Clarity: 3
I used Google and my class notes to help with this assessment.
You may wish to refer to "How do I submit diagnostics?" and other FAQs related to forking, cloning, and pull requests.
You may use any resource other than each other to complete this diagnostic. This includes referencing talk materials, appropriate documentation, and searching for help online.
You should be running grunt nag
before diagnosing any bugs, since it finds
some of the most common sources of errors. Test your script by running it
against the provided example files:
# for example
node lib/diagnostic.js integers.txt #=> 15
Source code distributed under the MIT license. Text and other assets copyright General Assembly, Inc., all rights reserved.