You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -476,7 +476,7 @@ Example url: `https://mcg123abcysykllg-0321cbs8bbt64.auth.marketingcloudapis.com
476
476
> You can run this command without the interactive wizard asking questions using the `--skipInteraction` (or short`--yes`/`--y`) flag. In this case, you need to provide a few values in the command:
// return null here to avoid seeing 2 error messages for the same issue
43
42
returnnull;
@@ -54,7 +53,7 @@ const Cli = {
54
53
`Credential '${skipInteraction.credentialName}' already existing. If you tried updating please provide run 'mcdev init ${skipInteraction.credentialName}'`
// check if remote repo is still empty (otherwise to risky to blindly push)
@@ -101,7 +100,7 @@ const Init = {
101
100
`Your remote Git repository is still empty and ready to store your initial backup. Hint: This is the server version of the repo which you share with your team.`
* @param {TYPE.skipInteraction} [skipInteraction] signals what to insert automatically for things usually asked via wizard
128
126
* @returns {string} repo name (optionally)
129
127
*/
130
-
async_addGitRemote(skipInteraction){
128
+
async_addGitRemote(){
129
+
constskipInteraction=Util.skipInteraction;
131
130
// #1 ask if the user wants to do it now
132
131
letresponses;
133
132
if(!skipInteraction){
@@ -177,10 +176,10 @@ const Init = {
177
176
/**
178
177
* checks global config and ask to config the user info and then store it locally
179
178
*
180
-
* @param {boolean | TYPE.skipInteraction} [skipInteraction] signals what to insert automatically for things usually asked via wizard
181
179
* @returns {void}
182
180
*/
183
-
async_updateGitConfigUser(skipInteraction){
181
+
async_updateGitConfigUser(){
182
+
constskipInteraction=Util.skipInteraction;
184
183
constgitUser=(awaitthis._getGitConfigUser())||{};
185
184
Util.logger.info(
186
185
`Please confirm your Git user name & email. It should be in the format 'FirstName LastName' and 'your.email@accenture.com'. The current (potentially wrong) values are provided as default. If correct, confirm with ENTER, otherwise please update:`
0 commit comments