Skip to content

Commit 844aafe

Browse files
committed
chore(task): remove unuse empty line
1 parent f3c721a commit 844aafe

28 files changed

Lines changed: 0 additions & 103 deletions

File tree

crates/vite_task/src/schedule.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ impl ExecutionPlan {
191191

192192
// Execute or replay the task
193193
let exit_status = execute_or_replay.await?;
194-
println!();
195194
Ok(ExecutionStatus {
196195
execution_id,
197196
pre_execution_status,

packages/cli/snap-tests/associate-existing-cache/snap.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
$ echo hello
33
hello
44

5-
65
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
76
Vite+ Task Runner • Execution Summary
87
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -20,7 +19,6 @@ Task Details:
2019
$ echo hello (✓ cache hit, replaying)
2120
hello
2221

23-
2422
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2523
Vite+ Task Runner • Execution Summary
2624
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -39,7 +37,6 @@ Task Details:
3937
$ echo world (✗ cache miss: command changed, executing)
4038
world
4139

42-
4340
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4441
Vite+ Task Runner • Execution Summary
4542
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

packages/cli/snap-tests/builtin-different-cwd/snap.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,17 @@
22
Found 0 warnings and 0 errors.
33
Finished in <variable>ms on 1 file with <variable> rules using <variable> threads.
44

5-
65
> cd folder2 && vite lint # should create different cache even though the package is the same
76
Found 0 warnings and 0 errors.
87
Finished in <variable>ms on 1 file with <variable> rules using <variable> threads.
98

10-
119
> echo 'console.log(1);' > folder2/a.js
1210
> cd folder1 && vite lint
1311
✓ cache hit, replaying
1412
Found 0 warnings and 0 errors.
1513
Finished in <variable>ms on 1 file with <variable> rules using <variable> threads.
1614

17-
1815
> cd folder2 && vite lint
1916
✗ cache miss: content of input 'folder2/a.js' changed, executing
2017
Found 0 warnings and 0 errors.
2118
Finished in <variable>ms on 1 file with <variable> rules using <variable> threads.
22-

packages/cli/snap-tests/cache-clean/snap.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
$ echo hello
33
hello
44

5-
65
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
76
Vite+ Task Runner • Execution Summary
87
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -20,7 +19,6 @@ Task Details:
2019
$ echo hello (✓ cache hit, replaying)
2120
hello
2221

23-
2422
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2523
Vite+ Task Runner • Execution Summary
2624
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -39,7 +37,6 @@ Task Details:
3937
$ echo hello
4038
hello
4139

42-
4340
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4441
Vite+ Task Runner • Execution Summary
4542
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -58,7 +55,6 @@ Task Details:
5855
$ echo hello
5956
hello
6057

61-
6258
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6359
Vite+ Task Runner • Execution Summary
6460
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

packages/cli/snap-tests/cache-miss-command-change/snap.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
> vite run hello # create caches for 'echo foo' and 'echo bar'
22
$ echo foo
33
foo
4-
54
$ echo bar
65
bar
76

8-
97
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
108
Vite+ Task Runner • Execution Summary
119
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -26,11 +24,9 @@ Task Details:
2624
> vite run hello # should report cache miss of the first subcommand, and hit cache of the second subcommand
2725
$ echo baz (✗ cache miss: command changed, executing)
2826
baz
29-
3027
$ echo bar (✓ cache hit, replaying)
3128
bar
3229

33-
3430
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3531
Vite+ Task Runner • Execution Summary
3632
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -52,7 +48,6 @@ Task Details:
5248
$ echo bar (✓ cache hit, replaying)
5349
bar
5450

55-
5651
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5752
Vite+ Task Runner • Execution Summary
5853
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

packages/cli/snap-tests/change-passthrough-env-config/snap.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
$ node -p process.env.MY_ENV
33
1
44

5-
65
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
76
Vite+ Task Runner • Execution Summary
87
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -20,7 +19,6 @@ Task Details:
2019
$ node -p process.env.MY_ENV (✓ cache hit, replaying)
2120
1
2221

23-
2422
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2523
Vite+ Task Runner • Execution Summary
2624
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -39,7 +37,6 @@ Task Details:
3937
$ node -p process.env.MY_ENV (✗ cache miss: envs changed, executing)
4038
2
4139

42-
4340
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4441
Vite+ Task Runner • Execution Summary
4542
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

packages/cli/snap-tests/check-oxlint-env/snap.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
$ node check.js
33
OXLINT_TSGOLINT_PATH=/path/to/oxlint_tsgolint1
44

5-
65
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
76
Vite+ Task Runner • Execution Summary
87
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -21,8 +20,6 @@ Task Details:
2120
$ node check.js
2221
OXLINT_TSGOLINT_PATH=/path/to/oxlint_tsgolint2
2322

24-
25-
2623
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2724
Vite+ Task Runner • Execution Summary
2825
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

packages/cli/snap-tests/command-doc/snap.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
build complete in <variable>ms.
66

7-
87
- building client + server bundles...
98
✓ building client + server bundles...
109
- rendering pages...
@@ -17,7 +16,6 @@ build complete in <variable>ms.
1716

1817
build complete in <variable>ms.
1918

20-
2119
- building client + server bundles...
2220
✓ building client + server bundles...
2321
- rendering pages...

packages/cli/snap-tests/command-helper/snap.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ Options:
4949
-h, --help Display this message
5050
-v, --version Display version number
5151

52-
5352
> vite fmt -h # fmt help message
5453
Usage: [--check | --list-different] [PATH]...
5554

@@ -70,7 +69,6 @@ Available options:
7069
-V, --version Prints version information
7170

7271

73-
7472
> vite lint -h # lint help message
7573
Usage: [-c=<./.oxlintrc.json>] [PATH]...
7674

@@ -167,7 +165,6 @@ Available options:
167165
-V, --version Prints version information
168166

169167

170-
171168
> vite build -h # build help message
172169
vite/<semver>
173170

@@ -197,7 +194,6 @@ Options:
197194
-m, --mode <mode> [string] set env mode
198195
-h, --help Display this message
199196

200-
201197
> vite test -h # test help message
202198
vitest/<semver>
203199
WARN: no options were found for your subcommands so we printed the whole output
@@ -288,4 +284,3 @@ Options:
288284
--standalone Start Vitest without running tests. File filters will be ignored, tests will be running only on change (default: false)
289285
--mergeReports [path] Path to a blob reports directory. If this options is used, Vitest won't run any tests, it will only report previously recorded tests
290286
-h, --help Display this message
291-

packages/cli/snap-tests/command-install-shortcut/snap.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ dependencies:
88

99
Done in <variable>ms using pnpm v<semver>
1010

11-
1211
> vite i # install shortcut hit cache
1312
✓ cache hit, replaying
1413
Packages: +<variable>
@@ -20,7 +19,6 @@ dependencies:
2019

2120
Done in <variable>ms using pnpm v<semver>
2221

23-
2422
> vite install # install command still hit cache
2523
✓ cache hit, replaying
2624
Packages: +<variable>
@@ -31,4 +29,3 @@ dependencies:
3129
+ tslib <semver>
3230

3331
Done in <variable>ms using pnpm v<semver>
34-

0 commit comments

Comments
 (0)