UNPKG

zookeeper

Version:

apache zookeeper client (zookeeper async API v3.5.x - v3.8.x)

17 lines (12 loc) 274 B
const shell = require('shelljs'); function exec(action) { const res = shell.exec(action); if (res.code !== 0) { shell.echo('Unable to build zookeeper library'); return shell.exit(1); } return res.stdout; } module.exports = { exec, };