cdnjs-importer icon indicating copy to clipboard operation
cdnjs-importer copied to clipboard

Should not add unrelated files in commit.

Open PeterDaveHello opened this issue 9 years ago • 1 comments

I found that if there are some untracked files in the repo, cdnjs-importer will add them all with the commit, we should only add the files been fetched by the importer, not them all.

PeterDaveHello avatar May 13 '16 03:05 PeterDaveHello

This might be why: https://github.com/cdnjs/cdnjs-importer/blob/master/lib/index.js#L275 Might be better to use something along the lines of

self.git.exec(OArgv({
  _: package.name
  , b: true
}, "add"), cb)

petrgazarov avatar Dec 20 '16 05:12 petrgazarov