From 98a817e2c756a8ae9d5c1f0e03a5409fd2c1cb5e Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Thu, 3 Oct 2024 18:57:43 -0400 Subject: [PATCH] STCLI-250 omit unused arguments when calling okToPull (#355) --- CHANGELOG.md | 1 + lib/commands/platform/pull.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c96103..61451b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 3.2.0 IN PROGRESS * Add a proxy server to overcome issues with cookies SameSite policy. Refs STCLI-246. +* Bug fix: don't pass unused arguments to `okToPull()`. Refs STCLI-250. ## [3.1.0](https://github.com/folio-org/stripes-cli/tree/v3.1.0) (2024-03-12) [Full Changelog](https://github.com/folio-org/stripes-cli/compare/v3.0.0...v3.1.0) diff --git a/lib/commands/platform/pull.js b/lib/commands/platform/pull.js index 83572f8..9c12dba 100644 --- a/lib/commands/platform/pull.js +++ b/lib/commands/platform/pull.js @@ -33,7 +33,7 @@ function pullRepository(dir) { }); return new Promise((resolve) => { - okToPull(dir) + okToPull() .then(() => git.pull()) .then((pullSummary) => { let prefix = '';