我在通过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”中。
这到底是怎么回事?