Skip to content

fix apiPath on Windows system. #11

@zhazhaxia

Description

@zhazhaxia

A Windows path problem.
#L3
It should be apiPath.replace(/\\/ig,'\\\\').Otherwise,the program will transform E:\code\app.js into E:codeapp.js at line 11 because of the template code.
Just make a judgement it'll run ok!

Look at th pr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions