parcoursup/node_modules/clean-css/lib/utils/format-position.js
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01: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;