jpillora/grunt-aws — pull request #9 by chug2k (2014-02-18 19:44:23+00:00)
Title: Only call CacheMgr.put(cache) if the cache option is true.

Setting `cache` to false (either explicitly or implicitly via `createBucket: true`) led to this error on successful put:

```
Error: ENOENT, no such file or directory '//node_modules/grunt-aws/caches/
at Object.fs.openSync (fs.js:427:18)
at Object.fs.openSync (//node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js:68:26)
at Object.fs.writeFileSync (fs.js:966:15)
at Object.exports.put (//node_modules/grunt-aws/tasks/cache-mgr.js:34:6)
at taskComplete (//node_modules/grunt-aws/tasks/services/s3.js:343:18)
at //node_modules/grunt-aws/node_modules/async/lib/async.js:232:13
at //node_modules/grunt-aws/node_modules/async/lib/async.js:142:25
at //node_modules/grunt-aws/node_modules/async/lib/async.js:229:17
at //node_modules/grunt-aws/node_modules/async/lib/async.js:556:34
at //node_modules/grunt-aws/node_modules/async/lib/async.js:188:33
```