From 474d979f58f5a93fe4f61a5cad05a892822098f0 Mon Sep 17 00:00:00 2001 From: Wassim Chegham Date: Sat, 14 May 2016 15:55:40 +0200 Subject: [PATCH 1/2] chore(cli): add "maximumFileSizeToCacheInBytes" --- cli.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli.js b/cli.js index 60ba604..2374993 100755 --- a/cli.js +++ b/cli.js @@ -72,6 +72,9 @@ function setDefaults(cli, configFileFlags) { compositeFlags.runtimeCaching = compositeFlags.runtimeCaching || configFileFlags.runtimeCaching; + compositeFlags.maximumFileSizeToCacheInBytes = compositeFlags.maximumFileSizeToCacheInBytes || + configFileFlags.maximumFileSizeToCacheInBytes; + return compositeFlags; } From 3ad0c769f575effee6a293d5e0d1b4e45bdc8df4 Mon Sep 17 00:00:00 2001 From: Wassim Chegham Date: Sat, 14 May 2016 16:25:27 +0200 Subject: [PATCH 2/2] chore(cli): add "maximumFileSizeToCacheInBytes" and fix eslint errors --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index 2374993..bccbf7b 100755 --- a/cli.js +++ b/cli.js @@ -72,7 +72,7 @@ function setDefaults(cli, configFileFlags) { compositeFlags.runtimeCaching = compositeFlags.runtimeCaching || configFileFlags.runtimeCaching; - compositeFlags.maximumFileSizeToCacheInBytes = compositeFlags.maximumFileSizeToCacheInBytes || + compositeFlags.maximumFileSizeToCacheInBytes = compositeFlags.maximumFileSizeToCacheInBytes || configFileFlags.maximumFileSizeToCacheInBytes; return compositeFlags;