jeremyfa / yaml.js

Standalone JavaScript YAML 1.2 Parser & Encoder. Works under node.js and all major browsers. Also brings command line YAML/JSON conversion tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yaml2json error with absolute file path.

xmxiaoq opened this issue · comments

pushd d:\

absolute path raise error:
yaml2json -s D:.gitlab-ci1.yml
ENOENT: no such file or directory, stat 'd:\D:.gitlab-ci1.yml'

relative path is ok:
yaml2json -s .gitlab-ci1.yml
saved d:.gitlab-ci1.json

I have the same problem. Any solution?