Skip to content

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

Closed

Description

@killrazor

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
};

Activity

  1. killrazor commented on Jan 19, 2017

    @killrazor
    ContributorAuthor

    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.

  2. clydin commented on Jan 22, 2017

    @clydin
    Member

    Dup: #2083

  3. killrazor commented on Jan 22, 2017

    @killrazor
    ContributorAuthor

    Thanks

  4. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    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.

  5. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions