cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12766) Cordova CLI changes package.json indentation
Date Wed, 21 Mar 2018 14:33:01 GMT

    [ https://issues.apache.org/jira/browse/CB-12766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407995#comment-16407995
] 

ASF GitHub Bot commented on CB-12766:
-------------------------------------

remcohaszing commented on issue #558: CB-12766 Consistently write JSON with 2 spaces indentation
URL: https://github.com/apache/cordova-lib/pull/558#issuecomment-374957671
 
 
   I think it has been cherry-picked manually. Anyway, it got into master. See https://github.com/apache/cordova-lib/commit/d244cf8442004f2780775cb16f0ac5454b056996

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Cordova CLI changes package.json indentation
> --------------------------------------------
>
>                 Key: CB-12766
>                 URL: https://issues.apache.org/jira/browse/CB-12766
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-cli, cordova-lib
>    Affects Versions: 7.0.0
>            Reporter: Remco Haszing
>            Assignee: Kerri Shotts
>            Priority: Minor
>              Labels: cordova-next, easy-fix
>
> While Cordova is busy adding platforms / plugins, it writes to package.json several times.
In this process the indentation of package.json alternates between 2 and 4 spaces. The final
result is an indentation of 4 spaces, which conflicts with the indentation of 2 spaces that
npm uses.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message