Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-medic/pull/23#discussion_r23556323 --- Diff: cordova.conf --- @@ -110,6 +108,13 @@ from buildbot.config import BuilderConfig from buildbot.process.factory import BuildFactory from buildbot.steps.transfer import FileDownload +def RMCommand(path, **kwargs): + js_script = "var s = require('shelljs'); console.log('removing {path}'); s.rm('-rf', '{path}');".format(path=path) + return ShellCommand(command=['node', '-e', js_script], **kwargs) + +def InstallShellJS(): --- End diff -- Another way is to note shelljs as a prerequisite for build slave (like the grunt-cli (https://github.com/apache/cordova-medic#install-prerequisites))
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org