文件操作 - util-flow-indent-check.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js
编辑文件内容
import { containsNewline } from './util-contains-newline.js'; function flowIndentCheck(indent, fc, onError) { if (fc?.type === 'flow-collection') { const end = fc.end[0]; if (end.indent === indent && (end.source === ']' || end.source === '}') && containsNewline(fc)) { const msg = 'Flow end indicator should be more indented than parent'; onError(end, 'BAD_INDENT', msg, true); } } } export { flowIndentCheck };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件