Skip to content

Commit

Permalink
Fix abpframework#4598: yarn not running in ABP-CLI update command
Browse files Browse the repository at this point in the history
  • Loading branch information
gdlcf88 authored Jul 2, 2020
1 parent cbd3796 commit 8cc8fdd
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,18 @@ async Task UpdateAsync(string file)
if (includePreviews)
{
await CreateNpmrcFileAsync(Path.GetDirectoryName(file.Key));
RunNpmInstall(fileDirectory);
}
else if (switchToStable)
{
await DeleteNpmrcFileAsync(Path.GetDirectoryName(file.Key));
}

if (includePreviews)
{
RunNpmInstall(fileDirectory);
}
else
{
RunYarn(fileDirectory);
}

Expand Down

0 comments on commit 8cc8fdd

Please sign in to comment.