【发布时间】:2019-11-02 16:53:19
【问题描述】:
我目前正在尝试将一些旧的 CoffeeScript 代码(旧项目)移植到本机 NodeJS;我很难理解这到底在做什么?还是 Node 中的等价物?
builder.macro_extensions = [
'iced'
'nsi'
'txt'
]
await exec """
find #{temp} | grep #{(_.map @macro_extensions, (x) -> "-e '\\.#{x}'").join ' '}
""", {silent:on}, defer e,r
if e then return cb e
如果有人能指出我正确的方向,那就完美了!
【问题讨论】:
标签: node.js coffeescript iced-coffeescript