Comparing version
@@ -31,2 +31,6 @@ 'use strict'; | ||
module.exports.root = tempDir; | ||
Object.defineProperty(module.exports, 'root', { | ||
get() { | ||
return tempDir; | ||
} | ||
}); |
{ | ||
"name": "tempy", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Get a random temporary file or directory path", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -62,3 +62,3 @@ # tempy [](https://travis-ci.org/sindresorhus/tempy) | ||
The root temporary directory path. For example: `/private/var/folders/3x/jf5977fn79jbglr7rk0tq4d00000gn/T` | ||
Get the root temporary directory path. For example: `/private/var/folders/3x/jf5977fn79jbglr7rk0tq4d00000gn/T` | ||
@@ -65,0 +65,0 @@ |
4269
1.31%28
16.67%