Skip to content
Merged
Prev Previous commit
Tweak
  • Loading branch information
fredrikekelund committed Nov 17, 2025
commit d8feb6b34c679e84d68945d022e1a54508fb9e45
3 changes: 1 addition & 2 deletions cli/lib/browser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { spawn } from 'child_process';
import { __ } from '@wordpress/i18n';

/**
* Opens the default browser with the specified URL
Expand Down Expand Up @@ -31,7 +30,7 @@ export async function openBrowser( url: string ): Promise< void > {
args = [ url ];
break;
default:
return Promise.reject( new Error( __( 'Unsupported platform' ) ) );
return Promise.reject( new Error( 'Unsupported platform' ) );
}

return new Promise( ( resolve, reject ) => {
Expand Down
Loading