Skip to content
Open
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 @@ -83,7 +83,7 @@ function query( slug, id, options, clbk ) {
info = ratelimit( response.headers );
debug( 'Rate limit: %d', info.limit );
debug( 'Rate limit remaining: %d', info.remaining );
debug( 'Rate limit reset: %s', (new Date( info.reset*1000 )).toISOString() );
debug( 'Rate limit reset: %s', ( ( info.reset ) ? (new Date( info.reset*1000 )).toISOString() : 'N/A' ) );

if ( error ) {
return clbk( error, info );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
TOTAL = 8 * 8 * 8 * 8;

// For each integer value (octal number), determine the symbolic notation equivalent to the value's binary representation...
masks = new Array( TOTAL );
masks = [];
for ( i = 0; i < TOTAL; i++ ) {
tmp = '';

Expand Down Expand Up @@ -85,8 +85,8 @@
if ( PRETTY_PRINT ) {
// Print the list of masks in symbolic notation:
for ( i = 0; i < TOTAL; i++ ) {
console.log( '%d = %s = %s = %s', masks[i][0], masks[i][1], masks[i][2], masks[i][3] );

Check warning on line 88 in lib/node_modules/@stdlib/process/umask/scripts/binary_to_symbolic.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected console statement
}
} else {
console.log( JSON.stringify( masks ) );

Check warning on line 91 in lib/node_modules/@stdlib/process/umask/scripts/binary_to_symbolic.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected console statement
}