Skip to content

Commit

Permalink
remove short name compatible code (#1496)
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Jul 19, 2019
1 parent ebc4571 commit a8310df
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/puppet-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ export class PuppetManager {
}

switch (puppetName) {
case 'padchat':
// issue #1496 https://github.com/Chatie/wechaty/issues/1496
// compatible old settings for padchat
puppetName = 'wechaty-puppet-padchat'
break

case 'mock':
puppetName = 'wechaty-puppet-mock'
break
// case 'padchat':
// // issue #1496 https://github.com/Chatie/wechaty/issues/1496
// // compatible old settings for padchat
// puppetName = 'wechaty-puppet-padchat'
// break

// case 'mock':
// puppetName = 'wechaty-puppet-mock'
// break

case 'default':
puppetName = PUPPET_NAME_DEFAULT
Expand Down

0 comments on commit a8310df

Please sign in to comment.