UNPKG

@xorddotcom/shield

Version:

p align="center" > <img src="https://xord.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F283b98b7-fdae-4e5a-acaf-248242084e4a%2FICON.png?table=block&id=5306223c-a4f7-45d1-9f54-b9a5f4004cd6&spaceId=49976899-64a1-40f

23 lines 823 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.printNameValidationError = void 0; const logger_1 = require("./logger"); const printNameValidationError = () => { (0, logger_1.log)("\nKindly enter a valid name.", "error"); (0, logger_1.log)("A valid name cannot have following attributes.", "error"); (0, logger_1.log)(`The characters not allowed at the beginning or the end are: - Blank space - Dot (.)`, "error"); (0, logger_1.log)(`The characters not allowed in any place in the folder name are: - Asterisk (*) - Backslash () - Colon (:) - Double quote (") - Forward slash (/) - Greater than (>) - Less than (<) - Question mark (?) - Vertical bar or pipe (|)`, "error"); }; exports.printNameValidationError = printNameValidationError; //# sourceMappingURL=error.js.map