From c48ce25de6ce764839250b2c059fe1c6b9220ca4 Mon Sep 17 00:00:00 2001 From: Amjad Masad Date: Tue, 1 Sep 2015 16:40:47 -0700 Subject: [PATCH] [react-packager] Fix cache issues --- react-packager/src/lib/getCacheFilePath.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-packager/src/lib/getCacheFilePath.js b/react-packager/src/lib/getCacheFilePath.js index d5ef19b3..1d858529 100644 --- a/react-packager/src/lib/getCacheFilePath.js +++ b/react-packager/src/lib/getCacheFilePath.js @@ -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();