我在通過ConEmu運行魚殼的Windows上。魚在默認情況下不承認「& &」運營商有這個然而:運行npm腳本時,哪個shell npm正在使用?
"scripts": {
"test": "echo 'a' && echo 'b'"
}
並運行「故宮運行測試」工作。 所以,我想這一定是使用默認的「CMD」,這是什麼但是說npm config ls -l | grep shell
,... 當我改變「測試」腳本:
"scripts": {
"test": "echo 'a' && ls"
}
這也適用,而顯然不支持ls
在「cmd」中。
這到底是怎麼回事?