Skip to content

Commit cde5845

Browse files
committed
add case task-no-trailing-newline
1 parent e81cb21 commit cde5845

3 files changed

Lines changed: 33 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"scripts": {
3+
"hello": "echo -n foo && echo bar"
4+
}
5+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
> vite run hello
2+
$ echo -n foo
3+
foo$ echo bar
4+
bar
5+
6+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
7+
Vite+ Task Runner • Execution Summary
8+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
9+
10+
Statistics: 2 tasks • 0 cache hits • 2 cache misses
11+
Performance: 0% cache hit rate
12+
13+
Task Details:
14+
────────────────────────────────────────────────
15+
[1] hello(subcommand 0): $ echo -n foo ✓
16+
→ Cache miss: no previous cache entry found
17+
·······················································
18+
[2] hello: $ echo bar ✓
19+
→ Cache miss: no previous cache entry found
20+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"env": {
3+
"VITE_DISABLE_AUTO_INSTALL": "1"
4+
},
5+
"commands": [
6+
"vite run hello"
7+
]
8+
}

0 commit comments

Comments
 (0)