10
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2026-04-14 18:44:47 +00:00

Add node modules and new code for release

This commit is contained in:
taakleton 2022-01-26 21:54:24 +00:00 committed by GitHub
parent da63a48ad7
commit 3925f466de
8435 changed files with 1764387 additions and 7 deletions

17
node_modules/exec-sh/example/example.js generated vendored Normal file
View file

@ -0,0 +1,17 @@
var execSh = require('../')
// run interactive bash shell
execSh('echo ola && bash', { cwd: '/home' }, function (err) {
if (err) {
console.log('Exit code: ', err.code)
return
}
// collect streams output
execSh(['bash -c id', 'echo olaola >&2'], true,
function (err, stdout, stderr) {
console.log('error: ', err)
console.log('stdout: ', stdout)
console.log('stderr: ', stderr)
})
})