From d3ddc6bfca4061f6bd269771e34c9a9f1d53b83b Mon Sep 17 00:00:00 2001 From: Scott Rippee Date: Tue, 16 Feb 2021 22:08:32 -0800 Subject: [PATCH] Removed memoizeWith from getAccountId so the incorrect account id will not be returned with deploying from one provider to the next --- src/getAccountId.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/getAccountId.js b/src/getAccountId.js index 1754e75..15a483f 100644 --- a/src/getAccountId.js +++ b/src/getAccountId.js @@ -1,5 +1,4 @@ const AWS = require('aws-sdk') -const { memoizeWith, identity } = require('ramda') const getAccountId = async (config) => { const sts = new AWS.STS(config) @@ -9,4 +8,4 @@ const getAccountId = async (config) => { return res.Account } -module.exports = memoizeWith(identity, getAccountId) +module.exports = getAccountId