mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2025-12-09 22:30:41 -07:00
node_modules: upgrade
This commit is contained in:
7
node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js
generated
vendored
7
node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js
generated
vendored
@@ -1,4 +1,4 @@
|
||||
import { isSeq, isPair, isMap } from '../../nodes/Node.js';
|
||||
import { isSeq, isPair, isMap } from '../../nodes/identity.js';
|
||||
import { Pair, createPair } from '../../nodes/Pair.js';
|
||||
import { Scalar } from '../../nodes/Scalar.js';
|
||||
import { YAMLSeq } from '../../nodes/YAMLSeq.js';
|
||||
@@ -56,8 +56,9 @@ function createPairs(schema, iterable, ctx) {
|
||||
key = keys[0];
|
||||
value = it[key];
|
||||
}
|
||||
else
|
||||
throw new TypeError(`Expected { key: value } tuple: ${it}`);
|
||||
else {
|
||||
throw new TypeError(`Expected tuple with one key, not ${keys.length} keys`);
|
||||
}
|
||||
}
|
||||
else {
|
||||
key = it;
|
||||
|
||||
Reference in New Issue
Block a user