Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Sep 12, 2024
1 parent 6d05fb9 commit 89498a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/automation/google/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class GoogleSearch extends Google {
#createRegExp ( target ) {
if ( !target ) return;

if ( target.startsWith( "*." ) ) target = target.substring( 2 );
if ( target.startsWith( "*." ) ) target = target.slice( 2 );

target = quoteMeta( target );

Expand Down

0 comments on commit 89498a3

Please sign in to comment.