[react-packager] Fix cache issues

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

View File

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