Browse Source

Update AngularModuleSourceCodeAdder.cs

pull/3493/head
Yunus Emre Kalkan 6 years ago
parent
commit
5227f7ff45
  1. 10
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/AngularModuleSourceCodeAdder.cs

10
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/AngularModuleSourceCodeAdder.cs

@ -127,11 +127,17 @@ namespace Volo.Abp.Cli.ProjectModification
{
var jestConfigPath = Path.Combine(angularProjectsPath, project, "jest.config.js");
File.Delete(jestConfigPath);
if (File.Exists(jestConfigPath))
{
File.Delete(jestConfigPath);
}
var testPath = Path.Combine(angularProjectsPath, project, "src", "test.ts");
File.Delete(testPath);
if (File.Exists(testPath))
{
File.Delete(testPath);
}
}
}

Loading…
Cancel
Save