Fix typo in last commit

This commit is contained in:
Raymond Hill 2023-08-23 09:45:58 -04:00
parent 749cec0f09
commit 4fc8eef1c1
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -1261,7 +1261,7 @@ function jsonPruneFetchResponse(
if ( logLevel === true ) {
log('json-prune-fetch-response:', JSON.stringify(Array.from(args)).slice(1,-1));
}
if ( rawNeedlePaths === '' ) { return fetchPromise; }
if ( rawPrunePaths === '' ) { return fetchPromise; }
let outcome = 'match';
if ( propNeedles.size !== 0 ) {
const objs = [ args[0] instanceof Object ? args[0] : { url: args[0] } ];