Skip to content

一个windows的log的兼容性问题 #8

Description

@bibiuc

主要是者个
const relativePath = relative(resolve(process.cwd(), 'src'), filepath)
我替换成了
const relativePath = relative(resolve(process.cwd(), 'src'), filepath).replace(new RegExp('\\'+sep, 'g'), '/')
就是个斜杠的问题。等更新

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions