the-forest/client/node_modules/clean-css/lib/utils/format-position.js
2024-09-17 20:35:18 -04:00

12 lines
239 B
JavaScript

function formatPosition(metadata) {
var line = metadata[0];
var column = metadata[1];
var source = metadata[2];
return source
? source + ':' + line + ':' + column
: line + ':' + column;
}
module.exports = formatPosition;