Skip to content

Commit

Permalink
Add require(atom) for home directory example
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Dec 4, 2013
1 parent e15b966 commit 94d4ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* Class methods (methods starting with a `@`)
* Instance methods
* Beware of platform differences
* Use `fs.getHomeDirectory()` to get home directory.
* Use `require('atom').fs.getHomeDirectory()` to get the home directory.
* Use `path.join()` to concatenate filenames.
* Temporary directory is not `/tmp` on Windows, use `os.tmpdir()` when
possible

0 comments on commit 94d4ad6

Please sign in to comment.