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);