Every line of 'uninstall gulp' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
197 async function uninstall(opts: IUninstallOpts): Promise { 198 const logger = opts.logger; 199 logger.info("Nothing to do"); 200 return {}; 201 }
325 function uninstall(ow) { 326 WARN('Uninstalling artifacts...'); 327 waterfall([ 328 callback => call(ow, 'action', 'delete', 'vision/analysis', callback), 329 callback => call(ow, 'action', 'delete', 'vision/extractor', callback), 330 callback => call(ow, 'action', 'delete', 'vision/speechtotext', callback), 331 callback => call(ow, 'action', 'delete', 'vision/textanalysis', callback), 332 callback => call(ow, 'rule', 'disable', 'vision-rule', callback), 333 callback => call(ow, 'rule', 'delete', 'vision-rule', callback), 334 callback => call(ow, 'action', 'delete', 'vision-cloudant-changelistener', callback), 335 callback => call(ow, 'trigger', 'delete', 'vision-cloudant-trigger', callback), 336 (callback) => { 337 call(ow, 'feed', 'delete', { 338 feedName: 'vision-cloudant/changes', 339 trigger: 'vision-cloudant-trigger', 340 params: { 341 api_key: openwhiskOptions.api_key, 342 dbname: process.env.CLOUDANT_db 343 } 344 }, callback); 345 }, 346 callback => call(ow, 'package', 'delete', 'vision-cloudant', callback), 347 callback => call(ow, 'package', 'delete', 'vision', callback) 348 ]); 349 }
97 export async function uninstall(ctx: MinimalContext): Promise { 98 try { 99 await regDeleteAll(ctx, base); 100 } catch (e) { 101 logger.warn( 102 `Could not register itchio:// as default protocol handler: ${e.stack || 103 e}` 104 ); 105 } 106 }
80 export async function uninstall(ctx: MinimalContext): Promise { 81 logger.info("Removing shortcut with squirrel"); 82 try { 83 await updateRun(ctx, ["--removeShortcut", exeName]); 84 } catch (e) { 85 logger.info(`Could not remove shortcut: ${e.stack || e}`); 86 } 87 }
123 function _cmdUninstall(names, options, config, cb) { 124 var resultType, 125 packagesExists, 126 result = {}; 127 128 if (commandExecution && commandExecution.uninstall) { 129 var uninstall = commandExecution.uninstall; 130 131 resultType = uninstall.resultType; 132 packagesExists = uninstall.packagesExists; 133 } else { 134 resultType = defaultCommandExecution.resultType; 135 packagesExists = true; 136 } 137 138 if (resultType === "success" && packagesExists) { 139 names.forEach(function (name) { 140 result[name] = "/bowertestuser/bower_components/" + name; 141 }); 142 143 cb(null, result); 144 } else { 145 cb(bowerError, null); 146 } 147 }
58 uninstall(options = this.options) { 59 debug('Trigger uninstall command', options); 60 // if (!options.auto) throw new Error('Uninstall only available with --auto flag'); 61 62 let dest = this.shell === 'zsh' ? '~/.zshrc' : 63 this.shell === 'bash' ? '~/.bashrc' : 64 '~/.config/fish/config.fish'; 65 66 // win32 ? 67 dest = dest.replace('~', process.env.HOME); 68 69 debug('Destination:', dest); 70 this.installer.uninstallCompletion(dest) 71 .catch(e => { 72 throw e 73 }) 74 .then(() => { 75 console.log('uninstall end'); 76 }); 77 78 }
89 async function uninstall() { 90 try { 91 const collection = db.get().collection('routes'); 92 for (let route of services) { 93 await collection.remove({path: route.path, host: process.argv[3]}); 94 process.stdout.write(`Uninstalled ${route.method} ${route.path}\r\n`); 95 } 96 97 process.exit(); 98 } catch (e) { 99 process.stdout.write(e.toString()); 100 process.exit(1); 101 } 102 }
311 function uninstall(origin) { 312 origin = normalizeOrigin(origin); 313 var item = appStorage.get(origin); 314 if (!item) throw [ "noSuchApplication", "no application exists with the origin: " + origin]; 315 appStorage.remove(origin); 316 return true; 317 };
81 function uninstall(replyTo, modId) { 82 Seq() 83 .seq(function unload() { 84 if (modMan.isLoaded(modId)) 85 modMan.unloadMod(modId, this); 86 else 87 this(null, true); 88 }) 89 .seq(function uninstall(unloadSkipped) { 90 if (!unloadSkipped) 91 client.notice(replyTo, "Mod \"" + modId + "\" unloaded."); 92 client.notice(replyTo, "Uninstalling \"" + modId + "\"..."); 93 ribbit.uninstall(modId, this); 94 }) 95 .seq(function success() { 96 client.notice(replyTo, "Mod \"" + modId + "\" uninstalled."); 97 }) 98 .catch(function(err) { 99 client.notice(replyTo, err.message); 100 }) 101 }
42 function uninstall (pluginName) { 43 const migrationPath = getMigrationPath(pluginName) 44 removeCmsDirectory(pluginName, (error) => { 45 if (error) { 46 return console.error(error) 47 } 48 return migrate('down', null, { migrationPath }) 49 }) 50 }