diff --git a/plugins/other/update.js b/plugins/other/update.js index 4182fcc..5328f96 100644 --- a/plugins/other/update.js +++ b/plugins/other/update.js @@ -223,7 +223,7 @@ export class update extends plugin { cm = 'git config -l' if (plugin) cm = `cd "plugins/${plugin}" && ${cm}` end = await execSync(cm, { encoding: 'utf-8' }) - end = end.match(/remote\..*\.url=.+/g).join('\n\n').replace(/remote\..*\.url=/g, '') + end = end.match(/remote\..*\.url=.+/g).join('\n\n').replace(/remote\..*\.url=/g, '').replace(/\/\/([^@]+)@/, '//') } catch (error) { logger.error(error.toString()) await this.reply(error.toString())