create-dolittle-microservice
Version:
[](https://github.com/dolittle-entropy/vanir/actions/workflows/build.yml) [](https://www.nuget.org/pack
23 lines • 876 B
JavaScript
;
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Config = void 0;
const path_1 = __importDefault(require("path"));
const Globals_1 = require("./Globals");
class Config {
static set templatesRootPath(path) {
this._templatesRootPath = path;
}
static get templatesRootPath() {
if (!this._templatesRootPath) {
this._templatesRootPath = path_1.default.join(Globals_1.Globals.rootPath, 'templates');
}
return this._templatesRootPath;
}
}
exports.Config = Config;
//# sourceMappingURL=Config.js.map