Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* var createRepo = require( '@stdlib/_tools/github/create-repo' );
*
* var opts = {
* 'token': 'tkjorjk34ek3nj4!'
* 'token': 'YOUR_GITHUB_TOKEN'
* };
*
* createRepo( 'gamma', opts, clbk );
Expand All @@ -40,10 +40,11 @@
* console.error( 'Reset: %s', (new Date( info.reset*1000 )).toISOString() );
* }
* if ( error ) {
* throw new Error( error.message );
* console.error( error.message );
* } else {
* console.log( JSON.stringify( repo ) );
* // returns <repo_data>
* }
* console.log( JSON.stringify( repo ) );
* // returns <repo_data>
* }
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/lib/complete_require.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
// MODULES //

var resolve = require( 'path' ).resolve;
var statSync = require( 'fs' ).statSync; // TODO: replace with stdlib equivalent

Check warning on line 24 in lib/node_modules/@stdlib/repl/lib/complete_require.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected 'todo' comment: 'TODO: replace with stdlib equivalent'

Check warning on line 24 in lib/node_modules/@stdlib/repl/lib/complete_require.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected sync method: 'statSync'
var logger = require( 'debug' );
var readDir = require( '@stdlib/fs/read-dir' ).sync;
var startsWith = require( '@stdlib/string/starts-with' );
var extname = require( '@stdlib/utils/extname' );
var cwd = require( '@stdlib/process/cwd' );
var indexRegExp = require( './regexp_index.js' ); // eslint-disable-line stdlib/no-require-index
var indexRegExp = require( './regexp_index.js' );
var relativePathRegExp = require( './regexp_relative_require_path.js' );
var pathRegExp = require( './regexp_path.js' );
var contains = require( './contains.js' );
Expand Down