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

ng init wants to compare even when the differences are just spacing #4120

Closed
killrazor opened this issue Jan 19, 2017 · 4 comments
Closed

ng init wants to compare even when the differences are just spacing #4120

killrazor opened this issue Jan 19, 2017 · 4 comments

Comments

@killrazor
Copy link
Contributor

OS?

Red Hat Enterprise Linux Server release 6.6 (Santiago)

Versions.

angular-cli: 1.0.0-beta.25.5
node: 6.6.0
os: linux x64
@angular/common: 2.4.4
@angular/compiler: 2.4.4
@angular/core: 2.4.4
@angular/forms: 2.4.4
@angular/http: 2.4.4
@angular/platform-browser: 2.4.4
@angular/platform-browser-dynamic: 2.4.4
@angular/router: 3.4.4
@angular/compiler-cli: 2.4.4

Repro steps.

run ng init in your local project after upgrading CLI. Have a tab instead of a space in one of the

The log given by the failure.

No failure log but this is an example of the output

? Overwrite src/environments/environment.prod.ts? Diff
Index: /projectLocation/environments/environment.prod.ts
===================================================================
--- /clogic/u/www/alpha/html/trackJcl/src/environments/environment.prod.ts
+++ /clogic/u/www/alpha/html/trackJcl/src/environments/environment.prod.ts
@@ -1,3 +1,3 @@
 export const environment = {
-        production: true
+  production: true
};
@killrazor
Copy link
Contributor Author

I'm aware this is a minor issue that will probably be pushed back to the end of time but I thought it worth mentioning. At the least, the response from this might give time back to someone else thinking the same.

@clydin
Copy link
Member

clydin commented Jan 22, 2017

Dup: #2083

@killrazor
Copy link
Contributor Author

Thanks

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants