Skip to content

Commit d3ea1da

Browse files
chore: fix JavaScript lint errors
PR-URL: #7332 Closes: #7327 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 930d012 commit d3ea1da

File tree

1 file changed

+9
-10
lines changed
  • lib/node_modules/@stdlib/_tools/bib/citation-reference/lib

1 file changed

+9
-10
lines changed

lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/cmd.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,15 @@
2929
* @returns {string} command
3030
*/
3131
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 );
4241
return out.join( ' ' );
4342
}
4443

0 commit comments

Comments
 (0)