function cleanDump(value) {
  var yaml = (0, _jsYaml.dump)(value).replace(/\n$/, '');

  if (_os.EOL !== '\n') {
    yaml = yaml.replace(/\n/g, _os.EOL);
  }

  return yaml;
}
function cleanDump(value) {
  var yaml = (0, _jsYaml.dump)(value).replace(/\n$/, '');

  if (_os.EOL !== '\n') {
    yaml = yaml.replace(/\n/g, _os.EOL);
  }

  return yaml;
}
function cleanDump ( value ) { var yaml = ( 0 , _jsYaml . dump ) ( value ) . replace ( / \n$ / , '' ) ; if ( _os . EOL !== '\n' ) { yaml = yaml . replace ( / \n / g , _os . EOL ) ; } return yaml ; }
/*
Dump a value to YAML sting without the trailing new line

@param {any} value

@returns {string}
/ * Dump a value to YAML sting without the trailing new line