Skip to content
Closed
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 @@ -81,7 +81,7 @@ jobs:
# Check contributing guidelines acceptance:
- name: 'Check contributing guidelines acceptance'
env:
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }}
GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number || inputs.pull_request_number }}
run: |
. "$GITHUB_WORKSPACE/.github/workflows/scripts/check_contributing_guidelines_acceptance/run" $PR_NUMBER
1 change: 1 addition & 0 deletions lib/node_modules/@stdlib/utils/async/examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

'use strict';


var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( './../lib' );

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

'use strict';

var format = require('@stdlib/string/format');

var resolve = require( 'path' ).resolve;
var stats = require( 'fs' ).stat;
var mapValuesAsync = require( './../lib' );
Expand All @@ -32,7 +34,7 @@ function getStats( file, next ) {

function onStats( error, data ) {
if ( error ) {
error = new Error( 'unable to retrieve stats: '+file );
error = new Error(format("unable to retrive stats : %s", file)); //previous + operator joins but it is not consistent, but this uses a formating function and %s acts as a placeholder which get replaced at last with the value of the file.
return next( error );
}
next( null, data );
Expand Down
Loading