UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS, CSS and JSON.

24 lines (16 loc) 561 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _path = require('path'); var _path2 = _interopRequireDefault(_path); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * @param {string} relativePath Path relative to the process.cwd(). * @returns {string} Absolute path. */ exports.default = function (relativePath) { return _path2.default.resolve(process.cwd(), relativePath); }; module.exports = exports['default']; //# sourceMappingURL=resolveAbsolutePath.js.map