文件操作 - error.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@redocly/ajv/dist/vocabularies/jtd/error.js
编辑文件内容
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.typeError = typeError; exports.typeErrorMessage = typeErrorMessage; exports.typeErrorParams = typeErrorParams; const codegen_1 = require("../../compile/codegen"); function typeError(t) { return { message: (cxt) => typeErrorMessage(cxt, t), params: (cxt) => typeErrorParams(cxt, t), }; } function typeErrorMessage({ parentSchema }, t) { return (parentSchema === null || parentSchema === void 0 ? void 0 : parentSchema.nullable) ? `must be ${t} or null` : `must be ${t}`; } function typeErrorParams({ parentSchema }, t) { return (0, codegen_1._) `{type: ${t}, nullable: ${!!(parentSchema === null || parentSchema === void 0 ? void 0 : parentSchema.nullable)}}`; } //# sourceMappingURL=error.js.map
修改文件时间
将文件时间修改为当前时间的前一年
删除文件