path-utils.js 185 B

12345678910
  1. 'use strict'
  2. const PathUtils = {
  3. formatPathMapping (path, line, column) {
  4. return path + (line ? `:${line}` : '') + (column ? `:${column}` : '')
  5. }
  6. }
  7. module.exports = PathUtils