src/diagnostics.ts: Add column number to messages
This commit is contained in:
parent
2b5819ab52
commit
aa1893918b
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export class DiagnosticPrinter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
out += '\n'
|
out += '\n'
|
||||||
out += chalk.bold.yellow(`${span.file.origPath}:${span.start.line}: `);
|
out += chalk.bold.yellow(`${span.file.origPath}:${span.start.line}:${span.start.column}: `);
|
||||||
}
|
}
|
||||||
switch (diagnostic.severity) {
|
switch (diagnostic.severity) {
|
||||||
case 'error':
|
case 'error':
|
||||||
|
|
Loading…
Reference in a new issue