diff --git a/README.md b/README.md index fb525f1..2e2a234 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ var cfg = { As of version 0.0.3, we cache previously hinted files to improve performance. This is done by taking a hash of the contents of a file and checking it against previously successful linted files content hashes. -By default, we will use the `os.tmpDir()` as the location for holding our swapped files (the files are empty, just placeholders). To change this you can pass in a `swapPath` option: +By default, we will use the `os.tmpdir()` as the location for holding our swapped files (the files are empty, just placeholders). To change this you can pass in a `swapPath` option: ```javascript var cfg = { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 107a527..ffcb991 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -35,9 +35,9 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.2.tgz" }, "cache-swap": { - "version": "0.2.3", - "from": "cache-swap@>=0.2.3 <0.3.0", - "resolved": "https://registry.npmjs.org/cache-swap/-/cache-swap-0.2.3.tgz" + "version": "0.3.0", + "from": "cache-swap@0.3.0", + "resolved": "https://registry.npmjs.org/cache-swap/-/cache-swap-0.3.0.tgz" }, "cli": { "version": "0.6.6", diff --git a/package.json b/package.json index 3f2ccc1..72920db 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "grunt": "~0.4.1", - "cache-swap": "~0.2.3" + "cache-swap": "~0.3.0" }, "scripts": { "test": "npm run lint && mocha", diff --git a/tasks/core/PhpLintTask.js b/tasks/core/PhpLintTask.js index 77d02d3..45433e9 100644 --- a/tasks/core/PhpLintTask.js +++ b/tasks/core/PhpLintTask.js @@ -19,7 +19,7 @@ function PhpLintTask(task) { this.options = task.options({ spawnLimit: 10, - swapPath: os.tmpDir(), + swapPath: os.tmpdir(), cache: true, phpCmd: 'php' });