0

Code from official documentation:

// append files from a sub-directory, putting its contents at the root of archive
archive.directory('subdir/', false);

How do I need to change 'subdir/' in windows environment:

archive.directory('F:/dir', false);

But if I write like this, it will give an error。

error: input source must be valid Stream or Buffer instance

Konrad
  • 21,590
  • 4
  • 28
  • 64
wei
  • 1

0 Answers0