From fe7b7334ea85774301a6c82b7d4a3a8207724aa9 Mon Sep 17 00:00:00 2001 From: Raktim Ranjan Handique Date: Sat, 18 Apr 2026 22:41:58 +0530 Subject: [PATCH 1/2] chore : fix the javascript lint errors (issue #434) --- .../@stdlib/utils/async/examples/index.js | 1 + .../async/map-values/examples/.index.js.swp | Bin 0 -> 12288 bytes .../utils/async/map-values/examples/index.js | 4 +++- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 lib/node_modules/@stdlib/utils/async/map-values/examples/.index.js.swp diff --git a/lib/node_modules/@stdlib/utils/async/examples/index.js b/lib/node_modules/@stdlib/utils/async/examples/index.js index c7e940d87f24..96f02ff6ced8 100644 --- a/lib/node_modules/@stdlib/utils/async/examples/index.js +++ b/lib/node_modules/@stdlib/utils/async/examples/index.js @@ -18,6 +18,7 @@ 'use strict'; + var objectKeys = require( '@stdlib/utils/keys' ); var ns = require( './../lib' ); diff --git a/lib/node_modules/@stdlib/utils/async/map-values/examples/.index.js.swp b/lib/node_modules/@stdlib/utils/async/map-values/examples/.index.js.swp new file mode 100644 index 0000000000000000000000000000000000000000..f270de5b43f1f7db8ec4128f286918774b77e1c6 GIT binary patch literal 12288 zcmeI2L2nyH6vrnVP+cgg;0rubAv?j{O#(uYQmJlYz#?^|I7vxW5si1p_O$Dn?aXYP z2=&whT#%3uMer>^NPzkg5C<-ZJBS0H0SW%I>x2fRaNtH}rGMg?dGqG~ezU$LufMp{ zxk0Z*iww_2#vXk0vz-0#9J~G`V}{>#($D|Pv+3i;hO0YVofaCW@te|(ihgWen#n#T zS~(;8g_By*rKRa~jHOuVRP2p)T4ch;*Q)p!ftiiDJyc0N=K1A)o)uUY2Yj6SIH^)` z5Z$q-nFwovz?mg*fxWc6w0LRmd3x^I?K4Xu6dni!0)apv5C{YUfj}S-2%J>{E}vn4 zp!g@CC1_?U{0dJX5C{YUfj}S-2m}IwKp+qZ1OkCTAP@-rPYCdov3Jfhw)hkZ!vFvM z-vEA}W$ahz7w8f6Ei{2%hR#Fhpr4*$>__M$XdRk?9$jGUbLdm(A@l+CKJ+g1I&=}5 zg=V1do@VSb=ppn8WT9KoF7yiY0`wa^{Q!LreGPpDeF=R5eGEN-9CQ!54c&rvAzw=j zg(naQ1OkCTAP@)y0)apv5csbI(0000cAd6-7ixnB5{;)#8Vc8Q+~HHIm7w`6jNNB7 z^tW1_i73;<2I<22`5NYHZe;X?gfZG+Mh>V^4QQU;V}n8^Wk;+}HC<>{+p+5N`V>kW zxCW^r%Wx)lyv$v$)QoV2QB*~ghg6HT>ho2sOsMS-Z&1BZyq^hjny}4Cu`kH_N>-@; zqA#x6`ZtTUV~<*ubsyWTtazWbGEGGY_NzFb?Rf7Iw4)erxFo>tgG$|>zFc2{FF@P} ziM_p48pX$=N%bhIJsUyckPEK z?-=t&+$*GkgL)K4k?&8&)+=RfS>%b3fyH9v=c|aR{Sz@ccOxG)UBlZ_FRTY|Wa8== zF2rnsGC7t=gXU;U1zMX8xsjlCnFwV?gn*vF#r-u!16_sKTqJTJ6Uw+67ATj7dS4hN z)sS*w#?sm{DOV}7-0W<UDZeB z5o#;HE#e>%x$~|P?YVH32%3P|<4HWK=`}visa1MBT4~abF#eth{;1*ad2YIC4lkcK tyb6Ct4o8j}$viDDF1<=y2+x7qe literal 0 HcmV?d00001 diff --git a/lib/node_modules/@stdlib/utils/async/map-values/examples/index.js b/lib/node_modules/@stdlib/utils/async/map-values/examples/index.js index 48e497198512..aa6f261146eb 100644 --- a/lib/node_modules/@stdlib/utils/async/map-values/examples/index.js +++ b/lib/node_modules/@stdlib/utils/async/map-values/examples/index.js @@ -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' ); @@ -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 ); From 722f984d9a9ee929060b01560708cbeea3d96f99 Mon Sep 17 00:00:00 2001 From: Raktim Ranjan Handique Date: Sat, 18 Apr 2026 23:09:31 +0530 Subject: [PATCH 2/2] chore : fix the javascript lint error (issue #434) --- .github/workflows/check_contributing_guidelines_acceptance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_contributing_guidelines_acceptance.yml b/.github/workflows/check_contributing_guidelines_acceptance.yml index 99d55d3fef46..d4756bbe97e8 100644 --- a/.github/workflows/check_contributing_guidelines_acceptance.yml +++ b/.github/workflows/check_contributing_guidelines_acceptance.yml @@ -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