Skip to content

Commit 6b3fc66

Browse files
committed
fmt
1 parent c48d689 commit 6b3fc66

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

packages/rspack/src/config/adapter.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ export const getRawOptions = (
9999
experiments,
100100
node: getRawNode(options.node),
101101
profile: options.profile!,
102-
amd: options.amd
103-
? JSON.stringify(options.amd || {})
104-
: undefined,
102+
amd: options.amd ? JSON.stringify(options.amd || {}) : undefined,
105103
bail: options.bail!,
106104
__references: {}
107105
};

x.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const rspackCommand = program.command("rspack").alias("rs").description(`
202202

203203
rspackCommand
204204
.option("-d, --debug", "Launch debugger in VSCode")
205-
.argument('[args...]', 'Arguments pass through to rspack cli')
205+
.argument("[args...]", "Arguments pass through to rspack cli")
206206
.action(async ({ debug }) => {
207207
try {
208208
if (!debug) {
@@ -220,7 +220,7 @@ program
220220
.command("rspack-debug")
221221
.alias("rsd")
222222
.description("Alias for `x rspack --debug`")
223-
.argument('[args...]', 'Arguments pass through to rspack cli')
223+
.argument("[args...]", "Arguments pass through to rspack cli")
224224
.action(async () => {
225225
await launchRspackCli(getVariadicArgs());
226226
});
@@ -235,7 +235,7 @@ const jestCommand = program.command("jest").alias("j").description(`
235235

236236
jestCommand
237237
.option("-d, --debug", "Launch debugger in VSCode")
238-
.argument('[args...]', 'Arguments pass through to rspack cli')
238+
.argument("[args...]", "Arguments pass through to rspack cli")
239239
.action(async ({ debug }) => {
240240
if (!debug) {
241241
await $`npx jest ${getVariadicArgs()}`;
@@ -249,7 +249,7 @@ program
249249
.command("jest-debug")
250250
.alias("jd")
251251
.description("Alias for `x jest --debug`")
252-
.argument('[args...]', 'Arguments pass through to rspack cli')
252+
.argument("[args...]", "Arguments pass through to rspack cli")
253253
.action(async () => {
254254
await launchJestWithArgs(getVariadicArgs());
255255
});

0 commit comments

Comments
 (0)