typescript-strict-plugin
Version:
Typescript tools that help with migration to the strict mode
11 lines (10 loc) • 368 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAbsolutePath = void 0;
const path_1 = require("path");
function getAbsolutePath(projectRootPath, filePath) {
if ((0, path_1.isAbsolute)(filePath))
return filePath;
return (0, path_1.resolve)(projectRootPath, filePath);
}
exports.getAbsolutePath = getAbsolutePath;
;