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:
2
node_modules/yaml/browser/dist/errors.js
generated
vendored
2
node_modules/yaml/browser/dist/errors.js
generated
vendored
@@ -47,7 +47,7 @@ const prettifyError = (src, lc) => (error) => {
|
||||
let count = 1;
|
||||
const end = error.linePos[1];
|
||||
if (end && end.line === line && end.col > col) {
|
||||
count = Math.min(end.col - col, 80 - ci);
|
||||
count = Math.max(1, Math.min(end.col - col, 80 - ci));
|
||||
}
|
||||
const pointer = ' '.repeat(ci) + '^'.repeat(count);
|
||||
error.message += `:\n\n${lineStr}\n${pointer}\n`;
|
||||
|
||||
Reference in New Issue
Block a user