Fix #489 Correct arguments for magic program

This commit is contained in:
James-Yu 2018-03-25 16:38:48 +08:00
parent 9540d8289b
commit 4445911b56
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Change Log
## [5.0.2] - 2018-03-25
### Fixed
- (#489) Magic comment program with undefined arguments.
## [5.0.1] - 2018-03-25
### Added

View File

@ -3,7 +3,7 @@
"displayName": "LaTeX Workshop",
"description": "Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.",
"icon": "icon.png",
"version": "5.0.1",
"version": "5.0.2",
"publisher": "James-Yu",
"license": "MIT",
"homepage": "https://github.com/James-Yu/LaTeX-Workshop",

View File

@ -123,7 +123,7 @@ export class Builder {
steps = [{
name: 'magic',
command: magic,
args: configuration.get('latex.magiccommand.args') as string[]
args: configuration.get('latex.magic.args') as string[]
}]
} else {
const recipes = configuration.get('latex.recipes') as {name: string, tools: (string | StepCommand)[]}[]