katoikia-app/web-ui/web-react/node_modules/clean-css/lib/utils/format-position.js

12 lines
239 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
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;