Skip to content

Commit

Permalink
fix filepath erros
Browse files Browse the repository at this point in the history
  • Loading branch information
dzencot committed Jul 11, 2024
1 parent b80388a commit ab4e6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ program
.argument('[dir_path]', 'path to files', '/content')
.option('-r, --rules "rule1, rule2, ..."', 'languagetools rules', '')
.option('-l, --language <Ru-ru>', 'A language code like en-US, de-DE, fr, or auto to guess the language automatically', 'auto')
.option('-i, --ignore <file_path>', 'Path to file with ignore contexts', '/content/ignore')
.option('-i, --ignore <file_path>', 'Path to file with ignore contexts', '/content/ignored_languagetool_errors')
.action((dirPath, options) => {
exec(serverStartCommand, () => setTimeout(async () => {
const rules = options.rules.split(',').map((item) => item.trim()).filter((item) => item);
Expand Down

0 comments on commit ab4e6ca

Please sign in to comment.