Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

// MODULES //

var exec = require( 'child_process' ).execSync;

Check warning on line 23 in lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected sync method: 'execSync'
var join = require( 'path' ).join;
var logger = require( 'debug' );
var copy = require( '@stdlib/utils/copy' );
Expand Down Expand Up @@ -56,11 +56,8 @@
* @throws {TypeError} first argument must be a string
* @throws {TypeError} options argument must be an object
* @throws {TypeError} must provide valid options
* @throws {Error} unable to generate a reference
* @returns {string} reference
*
* @example
* var ref = toReference( '@press1992' );
* // returns '...'
*/
function toReference( id, options ) {
var outFile;
Expand Down
Loading