From 2059168bd3ea4cf02ab792bd8eab7e43889b3636 Mon Sep 17 00:00:00 2001 From: milad Date: Mon, 28 Oct 2019 09:05:38 -0700 Subject: [PATCH] switched to arrow functions --- server-console/packager.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server-console/packager.js b/server-console/packager.js index 4f743d077c..60aff6c540 100644 --- a/server-console/packager.js +++ b/server-console/packager.js @@ -50,10 +50,10 @@ if (argv.out) { // call the packager to produce the executable packager(options) - .then(function(appPath) { + .then(appPath => { console.log("Wrote new app to " + appPath); }) - .catch(function(error){ + .catch(error => { console.error("There was an error writing the packaged console: " + error.message); process.exit(1); - }); \ No newline at end of file + });