From 0313c3ba4a1ea9a3612c15e2f1ed837be834cf5a Mon Sep 17 00:00:00 2001 From: Matt Wade Date: Wed, 24 Jul 2019 09:04:29 -0500 Subject: [PATCH] Fixes variable rename --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c4d6237..c7bdd2b 100644 --- a/index.js +++ b/index.js @@ -186,6 +186,6 @@ const { trimStart } = require('lodash'); console.log(' ' + files_changed.join('\n ') + '\n'); } - let relative_output_dir = path.relative(process.cwd(), output_directory_name); + let relative_output_dir = path.relative(process.cwd(), output_dir); console.log(`All changed files have been copied to ${relative_output_dir.cyan}, and zipped in ${(relative_output_dir + '.zip').cyan}\n`); })();