Skip to content
This repository has been archived by the owner on Mar 1, 2020. It is now read-only.

Should not add unrelated files in commit. #25

Open
PeterDaveHello opened this issue May 13, 2016 · 1 comment
Open

Should not add unrelated files in commit. #25

PeterDaveHello opened this issue May 13, 2016 · 1 comment

Comments

@PeterDaveHello
Copy link
Contributor

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.

@petrgazarov
Copy link

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants