Skip to content
Permalink
Browse files
Remove errors about unsupported publish/unpublish commands
  • Loading branch information
raphinesse committed Mar 31, 2019
1 parent 59bec7d commit a69657a7b3224e2199ff3e99d12ee9a1c931bda7
Showing 1 changed file with 0 additions and 10 deletions.
@@ -107,16 +107,6 @@ module.exports = {
}
});
},
'publish': function () {
plugman.emit('error', 'The publish functionality is not supported anymore since the Cordova Plugin registry\n' +
'is moving to read-only state. For publishing use corresponding \'npm\' commands.\n\n' +
'If for any reason you still need for \'plugman publish\' - consider downgrade to plugman@0.23.3');
},
'unpublish': function (cli_opts) {
plugman.emit('error', 'The publish functionality is not supported anymore since the Cordova Plugin registry\n' +
'is moving to read-only state. For publishing/unpublishing use corresponding \'npm\' commands.\n\n' +
'If for any reason you still need for \'plugman unpublish\' - consider downgrade to plugman@0.23.3');
},
'create': function (cli_opts) {
if (!cli_opts.name || !cli_opts.plugin_id || !cli_opts.plugin_version) {
return console.log(plugman.help());

0 comments on commit a69657a

Please sign in to comment.