in lib/helper.js [378:387]
function _adaptedQuotes(str) {
const line = str.split('\n');
let quote = '\'';
if (str.indexOf('\'') !== -1 && str.indexOf('"') !== -1 || line.length > 1) {
quote = '\'\'\'';
} else if (str.indexOf('\'') !== -1) {
quote = '"';
}
return quote;
}