From 94d4ad618caa00a0b8b228a40cd46e4d3192fba5 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 4 Dec 2013 08:48:22 -0800 Subject: [PATCH] Add require(atom) for home directory example --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4de2057c2..31e08a8fe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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