echosoar/make-dev-fast

add user

Closed this issue · 2 comments

if user already exists url, also need set git config

   switch (type) {
            case 'add':
                const matchUrl = yield enquirer.input({
                    message: 'Please input matching url/rule',
                    initial: defaultValue,
                });
                
                const exists = user.matches.find((match) => match === matchUrl);
                if (!exists) {
                    user.matches.push(matchUrl);
                }
                
                break;
  }

fix: v0.0.14