superfaceai / cli

Let AI connect the APIs for you
https://superface.ai
MIT License
23 stars 4 forks source link

fix: path escaping #343

Closed Jakub-Vacek closed 1 year ago

Jakub-Vacek commented 1 year ago

Description

This PR fixes two issues with path when using CLI on Windows: Invalid use of / in check was replaced with path.basename Windows \ are now escaped in assetsPath in .mjs file template

Motivation and Context

Types of changes

Checklist: