From 82c3664055ad34311a38c6f5a5e0594167e0965c Mon Sep 17 00:00:00 2001 From: Philippe Ozil Date: Fri, 8 Aug 2025 15:52:16 +0200 Subject: [PATCH] feat: upgrade CLI command to sf --- scripts/generate-login-url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-login-url.js b/scripts/generate-login-url.js index fe24f31..fdd9f3b 100755 --- a/scripts/generate-login-url.js +++ b/scripts/generate-login-url.js @@ -38,7 +38,7 @@ function getUpdatedEnvFile(filePath, url, timestamp) { * @returns {Promise} the scratch org url fetched from the getUrlCmd */ async function getScratchOrgLoginUrl() { - const getUrlCmd = 'sfdx org open -p /lightning -r --json'; + const getUrlCmd = 'sf org open -p /lightning -r --json'; console.log('Executing the following command: ', getUrlCmd); const { stderr, stdout } = await exec(getUrlCmd, { cwd: __dirname }); if (stderr) throw new Error(stderr);