Open zabakala opened 7 years ago
Hi, sorry for late response.
I tried several options:
const concat = require('concat')
let path = "./test.js";
concat(['test1.js', 'test2.js'], path);
path = String("/home/gk/test.js");
concat(['test1.js', 'test2.js'], path);
And all worked. Can you please specify your node version and error that you're getting.
Hi. I have an issue I would like to resolve. When I explicitly use a string:
concat([..], "path/to/destinatin");
..then the concat works. But when I:
let path = "path/to/destinatin"; concat([..], path);
..then the concat does not work. What am I possibly doing wrong?
Variations that do not work either:
let path = String("path/to/destinatin"); concat([..], path);
let path = "path/to/destinatin".toString(); concat([..], path);