Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 16d2701

Browse filesBrowse files
authored
fix(mocha): avoid --inspect-brk flag clobbering other values (#5473)
1 parent 75c398f commit 16d2701
Copy full SHA for 16d2701

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
  • packages/@vue/cli-plugin-unit-mocha
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎packages/@vue/cli-plugin-unit-mocha/index.js

Copy file name to clipboardExpand all lines: packages/@vue/cli-plugin-unit-mocha/index.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = api => {
4141

4242
const inspectPos = rawArgv.findIndex(arg => arg.startsWith('--inspect-brk'))
4343
if (inspectPos !== -1) {
44-
nodeArgs = rawArgv.splice(inspectPos, inspectPos + 1)
44+
nodeArgs = rawArgv.splice(inspectPos, 1)
4545
}
4646
// for @vue/babel-preset-app <= v4.0.0-rc.7
4747
process.env.VUE_CLI_BABEL_TARGET_NODE = true

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.