Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.gitkeep files #42

Open
kiwiupover opened this issue Feb 24, 2015 · 2 comments
Open

.gitkeep files #42

kiwiupover opened this issue Feb 24, 2015 · 2 comments

Comments

@kiwiupover
Copy link
Contributor

Should .gitkeep files crash the process? Also on a mac .DS.Store would also crash the process.

When I used the migrator on the past I thought it ignored .dotfiles was I mistaken.

No Change or Move javascripts/components/.gitkeep

/usr/local/lib/node_modules/ember-cli-migrator/node_modules/exec-sync/bin/index.js:68
        throw new Error(error);
              ^
Error: fatal: renaming 'javascripts/components/.gitkeep' failed: No such file or directory
    at module.exports (/usr/local/lib/node_modules/ember-cli-migrator/node_modules/exec-sync/bin/index.js:68:15)
    at null.<anonymous> (/usr/local/lib/node_modules/ember-cli-migrator/lib/ember-migrator.js:131:9)
    at Array.forEach (native)
    at EmberMigrator_run [as run] (/usr/local/lib/node_modules/ember-cli-migrator/lib/ember-migrator.js:123:14)
    at Object.<anonymous> (/usr/local/lib/node_modules/ember-cli-migrator/bin/ember-cli-migrator:30:10)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)

Cheers

@fivetanley
Copy link
Owner

Definitely seems like a bug. Might seem best to just not bother with them.

@kiwiupover
Copy link
Contributor Author

A work around.
You can run find javascripts -name '.gitkeep' -delete with javascripts being the folder with holding the ember app before using the ember-cli-migrator.

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

No branches or pull requests

2 participants