canonical
Version:
Canonical code style linter and formatter for JavaScript, SCSS and CSS.
22 lines (15 loc) • 514 B
JavaScript
;
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 = relativePath => {
return _path2.default.resolve(process.cwd(), relativePath);
};
//# sourceMappingURL=resolveAbsolutePath.js.map