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

format-objc-files.sh -s nothing happened #67

Open
Chren opened this issue Jul 10, 2017 · 1 comment
Open

format-objc-files.sh -s nothing happened #67

Chren opened this issue Jul 10, 2017 · 1 comment

Comments

@Chren
Copy link

Chren commented Jul 10, 2017

After run git commit -a, I get this:

🚸 Format and stage individual files:
"/Users/aren/Documents/lollypop/spacecommander"/format-objc-file.sh 'lollypop-client-ios/femometer/femometer-client/thermometer/App/BMTAppDelegate.m' && git add 'lollypop-client-ios/femometer/femometer-client/thermometer/App/BMTAppDelegate.m';
🚀Format and stage all affected files:
"/Users/aren/Documents/lollypop/spacecommander"/format-objc-files.sh -s
🔴 There were formatting issues with this commit, run the👆 above👆 command to fix.
💔 Commit anyway and skip this check by running git commit --no-verify

It works when run format-objc-file.sh for one file, but nothing happen when run

"/Users/aren/Documents/lollypop/spacecommander"/format-objc-files.sh -s

Have I missed something?

@justinseanmartin
Copy link
Collaborator

The format-objc-files.sh -s invocation form works with all files that have been staged, but doesn't run on unstaged files. It could probably use a clarification. This only happens when you're committing with -a.

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