From 23399ce68c48046eb24acba04d82ef3191f24402 Mon Sep 17 00:00:00 2001 From: gfarb Date: Thu, 29 Sep 2022 10:07:05 -0400 Subject: [PATCH] Description updates --- README.md | 10 +++++----- package.json | 2 +- src/commands/deliverability/access.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 11bb25f..7314a5b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## `sfdx deliverability:access [-l ] [-u ]` -This SFDX Plugin was created to set Email Deliverability Access Level for an org easily and quickly. This project uses Selenium, Webdriver and headless browsing to open Setup in the target org and set Email Deliverability Access Level to the desired value. +This SFDX Plugin was created to set Email Deliverability Access Level for an org easily and quickly. This project uses Puppeteer and headless browsing to open Setup in the target org and set Email Deliverability Access Level to the desired value. ``` USAGE @@ -37,10 +37,9 @@ sfdx deliverability:access --help ## Requirements -1. [Google Chrome](https://www.google.com/chrome) -2. [Node.js](https://nodejs.org/en/) -3. [Salesforce CLI](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm) -4. [Salesforce Lightning](https://www.salesforce.com/products/platform/lightning/) +1. [Node.js](https://nodejs.org/en/) +1. [Salesforce CLI](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm) +1. [Salesforce Lightning](https://www.salesforce.com/products/platform/lightning/) ## License @@ -51,3 +50,4 @@ This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md - [Salesforce CLI](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm) - [Salesforce CLI Plug-ins](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_plugin_version.htm) - [Salesforce Email Deliverability](https://help.salesforce.com/s/articleView?id=sf.data_sandbox_email_deliverability.htm&type=5) +- [Puppeteer](https://pptr.dev/) diff --git a/package.json b/package.json index 3db2081..689e629 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sfdx-deliverability-access", - "description": "SFDX Plugin to set Email Deliverability Access Level for an org via command line. This project uses Selenium, Webdriver and headless browsing to open Setup in the target org and set Email Deliverability Access Level to the desired value.", + "description": "SFDX Plugin to set Email Deliverability Access Level for an org via command line. This project uses Puppeteer and headless browsing to open Setup in the target org and set Email Deliverability Access Level to the desired value.", "version": "0.4.4", "author": "gfarb @gfarb", "bugs": "https://github.com/gfarb/sfdx-deliverability-access/issues", diff --git a/src/commands/deliverability/access.ts b/src/commands/deliverability/access.ts index d573639..0cad12c 100644 --- a/src/commands/deliverability/access.ts +++ b/src/commands/deliverability/access.ts @@ -114,7 +114,7 @@ export default class Access extends SfdxCommand { } finally { await browser?.close(); if (error !== undefined) { - this.ux.stopSpinner(`❌ Access Level could not be set. The following error occurred:\n${String(error)}`); + this.ux.stopSpinner(`❌ Access Level could not be set. The following error occurred:\n\n${String(error)}`); } else { this.ux.stopSpinner('🎉 Email Deliverability Access Level has been set!'); }