Skip to content

Commit 01a4b64

Browse files
committed
prevent empty line when unit = y & e2e = n
1 parent c325e9f commit 01a4b64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
1515
{{/if_eq}}
1616
{{#e2e}}
17-
"e2e": "node test/e2e/runner.js",{{/e2e}}
17+
"e2e": "node test/e2e/runner.js",
18+
{{/e2e}}
1819
{{#if_or unit e2e}}
1920
"test": "{{#unit}}npm run unit{{/unit}}{{#unit}}{{#e2e}} && {{/e2e}}{{/unit}}{{#e2e}}npm run e2e{{/e2e}}",
2021
{{/if_or}}

0 commit comments

Comments
 (0)