From 8053797155f446a33aafb4f3da93e41858a9eee5 Mon Sep 17 00:00:00 2001 From: nagpalkaran95 Date: Tue, 12 May 2020 17:07:21 +0530 Subject: [PATCH] fix user-agent bug --- bin/commands/info.js | 2 +- bin/helpers/zipUpload.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/commands/info.js b/bin/commands/info.js index 069a848a..264cdeb8 100644 --- a/bin/commands/info.js +++ b/bin/commands/info.js @@ -26,7 +26,7 @@ function buildInfo(args) { password: bsConfig.auth.access_key, }, headers: { - "User-Agent": util.getUserAgent, + "User-Agent": util.getUserAgent(), }, }; diff --git a/bin/helpers/zipUpload.js b/bin/helpers/zipUpload.js index a5d2d6c7..3c3931d0 100644 --- a/bin/helpers/zipUpload.js +++ b/bin/helpers/zipUpload.js @@ -20,7 +20,7 @@ const uploadCypressZip = (bsConfig, filePath) => { filename: 'tests' }, headers: { - "User-Agent": util.getUserAgent, + "User-Agent": util.getUserAgent(), } }