import { IFileSystem } from './filesystem/filesystem.i';
import { ITemplateFileSystem } from './templates/templatefilesystem.i';
import * as Path from 'path';

export class DependumentManager {
  private _fileSystem : IFileSystem;
  private _templateFileSystem : ITemplateFileSystem;

  constructor(fileSystem: IFileSystem, templateFileSystem: ITemplateFileSystem) {
    this._fileSystem = fileSystem;
    this._templateFileSystem = templateFileSystem;
  }
}

import { IFileSystem } from './filesystem/filesystem.i';
import { ITemplateFileSystem } from './templates/templatefilesystem.i';
import * as Path from 'path';

export class DependumentManager {
  private _fileSystem : IFileSystem;
  private _templateFileSystem : ITemplateFileSystem;

  constructor(fileSystem: IFileSystem, templateFileSystem: ITemplateFileSystem) {
    let rootName = Path.resolve(__dirname, '../');

    this._fileSystem = fileSystem;
    this._templateFileSystem = templateFileSystem;

    console.log(this._fileSystem.getDependencies(rootName + "/package.json"));
    console.log(this._fileSystem.getDevDependencies(rootName + "/package.json"));
  }
}

--- 
+++ 
@@ -7,12 +7,7 @@
   private _templateFileSystem : ITemplateFileSystem;
 
   constructor(fileSystem: IFileSystem, templateFileSystem: ITemplateFileSystem) {
-    let rootName = Path.resolve(__dirname, '../');
-
     this._fileSystem = fileSystem;
     this._templateFileSystem = templateFileSystem;
-
-    console.log(this._fileSystem.getDependencies(rootName + "/package.json"));
-    console.log(this._fileSystem.getDevDependencies(rootName + "/package.json"));
   }
 }
Remove unnecessary code from DependumentManager constructor
