mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2026-04-28 17:22:08 -06:00
node_modules: update (#127)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ const prettifyError = (src, lc) => (error) => {
|
||||
if (/[^ ]/.test(lineStr)) {
|
||||
let count = 1;
|
||||
const end = error.linePos[1];
|
||||
if (end && end.line === line && end.col > col) {
|
||||
if (end?.line === line && end.col > col) {
|
||||
count = Math.max(1, Math.min(end.col - col, 80 - ci));
|
||||
}
|
||||
const pointer = ' '.repeat(ci) + '^'.repeat(count);
|
||||
|
||||
Reference in New Issue
Block a user