(Other: containerIO)
Docker Desktop WSL
(Other: containerIO)
Docker Desktop WSL
git config core.hooksPath no-hooks
git config --unset core.hooksPath
get-base64.js
file with the content as belowconst fs = require('fs');
console.log(fs.readFileSync(
'<file path>',
{encoding: 'base64'}
));
def commandLineOf(command, terminal = null) {
if (System.properties['os.name'].toLowerCase().contains('windows')) {
return ['cmd', '/c', command]
} else if (terminal != null) {
return ['bash', '-c', terminal]
} else {
return ['bash', '-c', command]
}
}