Skip to content

Commit

Permalink
Log $PATH when latexindent not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
tamuratak committed Dec 9, 2020
1 parent ace5229 commit f7a640f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/latexformatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class LaTexFormatter {
const latexindentPresent = await this.checkPath()
if (!latexindentPresent) {
this.extension.logger.addLogMessage(`Can not find latexindent in PATH: ${this.formatter}`)
this.extension.logger.addLogMessage(`PATH: ${process.env.PATH}`)
this.extension.logger.showErrorMessage('Can not find latexindent in PATH.')
return []
}
Expand Down

0 comments on commit f7a640f

Please sign in to comment.