mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 21:17:30 +00:00
chore: update frontend build for v1.1.82 [skip ci]
This commit is contained in:
17
web/admin-spa/node_modules/yaml/dist/compose/util-flow-indent-check.js
generated
vendored
17
web/admin-spa/node_modules/yaml/dist/compose/util-flow-indent-check.js
generated
vendored
@@ -1,17 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
var utilContainsNewline = require('./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 === '}') &&
|
||||
utilContainsNewline.containsNewline(fc)) {
|
||||
const msg = 'Flow end indicator should be more indented than parent';
|
||||
onError(end, 'BAD_INDENT', msg, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
exports.flowIndentCheck = flowIndentCheck;
|
||||
Reference in New Issue
Block a user