We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0aa429 + a58a950 commit 104795bCopy full SHA for 104795b
lib/commands/install.ts
@@ -1,8 +1,6 @@
1
///<reference path="../.d.ts"/>
2
"use strict";
3
4
-import * as path from 'path';
5
-
6
export class InstallCommand implements ICommand {
7
constructor(private $platformsData: IPlatformsData,
8
private $platformService: IPlatformService,
@@ -50,8 +48,6 @@ export class InstallCommand implements ICommand {
50
48
private installModule(moduleName: string): IFuture<void> {
51
49
return (() => {
52
let projectDir = this.$projectData.projectDir;
53
- process.env['TNS_PROJECT_DIR'] = projectDir;
54
- process.env['TNS_HOOKS_DIR'] = path.join(projectDir, 'hooks');
55
56
let devPrefix = 'nativescript-dev-';
57
if (!this.$fs.exists(moduleName).wait() && moduleName.indexOf(devPrefix) !== 0) {
0 commit comments