File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
lib/node_modules/@stdlib/_tools/bib/citation-reference/lib Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 29
29
* @returns {string } command
30
30
*/
31
31
function cmd ( src , dest , opts ) {
32
- var out ;
33
- out = new Array ( 8 ) ;
34
- out [ 0 ] = 'pandoc' ;
35
- out [ 1 ] = '--filter=pandoc-citeproc' ;
36
- out [ 2 ] = '--from=markdown' ;
37
- out [ 3 ] = '--to=markdown_github' ;
38
- out [ 4 ] = '--bibliography=' + opts . database ;
39
- out [ 5 ] = '--csl=' + opts . csl ;
40
- out [ 6 ] = '--output=' + dest ;
41
- out [ 7 ] = src ;
32
+ var out = [ ] ;
33
+ out . push ( 'pandoc' ) ;
34
+ out . push ( '--filter=pandoc-citeproc' ) ;
35
+ out . push ( '--from=markdown' ) ;
36
+ out . push ( '--to=markdown_github' ) ;
37
+ out . push ( '--bibliography=' + opts . database ) ;
38
+ out . push ( '--csl=' + opts . csl ) ;
39
+ out . push ( '--output=' + dest ) ;
40
+ out . push ( src ) ;
42
41
return out . join ( ' ' ) ;
43
42
}
44
43
You can’t perform that action at this time.
0 commit comments