From b22f6770c8bd084d66950655203c61dd701b3d90 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 4 Jun 2022 08:51:19 +0200 Subject: Remove node_modules --- .../yaml/dist/compose/util-flow-indent-check.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 node_modules/yaml/dist/compose/util-flow-indent-check.js (limited to 'node_modules/yaml/dist/compose/util-flow-indent-check.js') diff --git a/node_modules/yaml/dist/compose/util-flow-indent-check.js b/node_modules/yaml/dist/compose/util-flow-indent-check.js deleted file mode 100644 index aa7c998..0000000 --- a/node_modules/yaml/dist/compose/util-flow-indent-check.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var utilContainsNewline = require('./util-contains-newline.js'); - -function flowIndentCheck(indent, fc, onError) { - if ((fc === null || fc === void 0 ? void 0 : 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; -- cgit