Skip to content

Commit bb5a6fd

Browse files
committed
Fix formatting
1 parent 1d1d80e commit bb5a6fd

2 files changed

Lines changed: 7 additions & 13 deletions

File tree

packages/wxt/e2e/tests/runners.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ vi.mock('is-wsl', () => ({
6161
},
6262
}));
6363

64-
/**
65-
* Imitate a real module not found error - needs the correct `code` property.
66-
*/
64+
/** Imitate a real module not found error - needs the correct `code` property. */
6765
class ModuleNotFoundError extends Error {
6866
code = 'ERR_MODULE_NOT_FOUND';
6967

packages/wxt/src/core/create-server.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
import chokidar from 'chokidar';
2-
import {
3-
InlineConfig,
4-
ServerInfo,
5-
WxtDevServer,
6-
} from '../types';
7-
import {
8-
internalBuild,
9-
} from './utils/building';
2+
import { InlineConfig, ServerInfo, WxtDevServer } from '../types';
3+
import { internalBuild } from './utils/building';
104
import { deinitWxtModules, initWxtModules, registerWxt, wxt } from './wxt';
115
import { unnormalizePath } from './utils/paths';
126
import { createKeyboardShortcuts } from './keyboard-shortcuts';
@@ -131,7 +125,8 @@ async function createServerInternal(): Promise<WxtDevServer> {
131125
keyboardShortcuts.start();
132126
keyboardShortcuts.printHelp({
133127
canReopenBrowser:
134-
!wxt.config.runnerConfig.config.disabled && !!wxt.config.runner.canOpen?.(),
128+
!wxt.config.runnerConfig.config.disabled &&
129+
!!wxt.config.runner.canOpen?.(),
135130
});
136131
},
137132
};
@@ -174,7 +169,8 @@ async function createServerInternal(): Promise<WxtDevServer> {
174169
keyboardShortcuts.start();
175170
keyboardShortcuts.printHelp({
176171
canReopenBrowser:
177-
!wxt.config.runnerConfig.config.disabled && !!wxt.config.runner.canOpen?.(),
172+
!wxt.config.runnerConfig.config.disabled &&
173+
!!wxt.config.runner.canOpen?.(),
178174
});
179175
};
180176

0 commit comments

Comments
 (0)