Closed flying-sheep closed 7 years ago
+1 for this #13
OK, so turns out the code actually expects strings for the glob patterns, not arrays.
path.relative
can return ""
, but the code only checks if (result.relativePath != null)
. this is a problem because plain cd
is the same as cd ~
. so i made sure relativePath
is never empty cb9487f0809ab318e6eb8629b4a2237ad7b1758eThanks.
no problem! but you should make sure that your tests run!
i get errors in some of them (unrelated to my changes)
there’s a problem: to test
gulpfile.js
, you need gulp v3 installed, to testgulpfile.babel.js
, you need gulp v4 installed.seem like your tests aren’t working at all.
PS: if you want to test gulpfile.babel.js, you also need
babel-register
andbabel-plugin-transform-es2015-modules-commonjs