Skip to content

安装时多个错误处理的变化 #21

@afc163

Description

@afc163

原来的逻辑是收集错误信息,不打断安装操作,最终统一输出。

https://github.com/spmjs/spm/blob/f0c289db09940866e44b4ef19d4e1a6a3462592b/lib/install.js#L86

现在的逻辑是直接 throw,并打出当前的错误信息。

我觉得原来的逻辑体验更好。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions