-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
Environment
- CLI: 5.1.0
- Cross-platform modules: 4.2.1
- Android Runtime: 4.2.0
- iOS Runtime: 4.2.0
- Plugin(s):
dependencies:
"nativescript-angular": "~6.1.0",
"nativescript-audio": "^5.0.1",
"nativescript-geolocation": "^4.3.1",
"nativescript-localstorage": "^1.1.5",
"nativescript-ng-shadow": "^2.1.0",
"nativescript-orientation": "^2.2.1",
"nativescript-permissions": "^1.2.3",
"nativescript-phone": "^1.4.0",
"nativescript-theme-core": "~1.0.4",
"nativescript-ui-listview": "^3.7.0",
dev:
"nativescript-dev-sass": "",
"nativescript-dev-typescript": "~0.7.0",
"nativescript-dev-webpack": "0.15.0",
Describe the bug
When running an npm install with no hooks directory, the package.json file will be rewritten with spaces instead of tabs.
To Reproduce
- Ensure
package.jsonhas tab indentation. - delete
hooks+node_modules - run
npm install - Check
package.json.
Expected behavior
The indentation style currently used to be honored, as per npm5+ does currently and as suggested by this merge request: #1779