[react-packager] Fix cache issues

This commit is contained in:
Amjad Masad 2015-09-01 16:40:47 -07:00
parent f9b1658c6f
commit c48ce25de6
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ const crypto = require('crypto');
const path = require('path'); const path = require('path');
const tmpdir = require('os').tmpDir(); const tmpdir = require('os').tmpDir();
function getCacheFilePath(args) { function getCacheFilePath(...args) {
args = Array.prototype.slice.call(args); args = Array.prototype.slice.call(args);
const prefix = args.shift(); const prefix = args.shift();