-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): handle both single and double quotes during dbAuth setup (#…
…11534) Fixes #11526. We had a few find and replaces which don't work if you elect to have double quotes rather than single quotes. By default we ship with a config that expects single quotes so I am not going to audit the entire cli/framework in this PR to ensure we support double quotes at all times. This addresses the issue and so I think is good enough for now. A lot of these functions are utilities so editing them here should have good coverage in other commands.
- Loading branch information
1 parent
111ec71
commit abf9e5d
Showing
3 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- fix(cli): handle both single and double quotes during dbAuth setup (#11534) by @Josh-Walker-GM | ||
|
||
If you had changed your prettier config to use double quotes instead of the default single quotes then the `yarn rw setup auth dbAuth` would fail. This change fixes that command to work regardless of quote flavour. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters