node-red/node-red-nodegen

/ in output filepath is overlapped

t-ide opened this issue · 0 comments

t-ide commented

To help us understand the issue, please fill-in as much of the following information as you can:

What are the steps to reproduce?

End output file path with /

e.g.

node bin/node-red-nodegen.js samples/lower-case.js -o /tmp/node-red-test/nodes/

What happens?

/ is overlapped.

e.g.

/tmp/node-red-test/nodes//node-red-contrib-lowercase

What do you expect to happen?

/ is NOT overlapped.

e.g.

/tmp/node-red-test/nodes/node-red-contrib-lowercase

Please tell us about your environment:

  • node.js version: v7.8.0
  • npm version: 4.2.0
  • Platform/OS: Ubuntu 16.04