2
這是我tasks.json
文件:VS代碼tasks.json錯誤
{
"version": "0.1.0",
"tasks": [
{
"taskName": "clean",
"windows": {
"command": "del"
},
"linux": {
"command": "rm"
},
"args": [ "build/*" ],
"showOutput": "never",
"isShellCommand": true,
"suppressTaskName": true
}
]
}
我每次使用按Ctrl +P寫task clean
執行任務,我得到以下錯誤:
Cannot read property 'args' of undefined
有人知道我失蹤了嗎?