pandora
Version:
A powerful and lightweight application manager for Node.js applications powered by TypeScript.
12 lines • 397 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const const_1 = require("../const");
class ServiceUtils {
static checkName(name) {
if (const_1.SERVICE_RESERVE_NAME.indexOf(name) > -1) {
throw new Error(`The service name ${name} has been reserved`);
}
}
}
exports.ServiceUtils = ServiceUtils;
//# sourceMappingURL=ServiceUtils.js.map