Skip to content

Commit

Permalink
Additional commit for #408.
Browse files Browse the repository at this point in the history
  • Loading branch information
daisukenishino2 committed May 26, 2021
1 parent 5e7a3a7 commit e03e2e4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static async Task<int> Main(string[] args)
description: "Copy destination root directory."),
new Option<string>(
alias: "--excluded-directory-list",
getDefaultValue: () => "bin;obj;.git;.svn;.vs;node_modules",
getDefaultValue: () => "bin;obj;.git;.svn;.vs;packages;node_modules;temp",
description: "Semicolon delimited excluded directory list."),
};

Expand Down Expand Up @@ -113,6 +113,9 @@ static void ShowProgress(string str)
int prePos = Console.CursorLeft;//現在カーソル位置を取得
Console.SetCursorPosition(0, Console.CursorTop);
Console.Write(str.PadRight(prePos));//前のカーソル位置まで空白埋めする

//(進行が見えるように)処理を5ミリ秒間休止
Thread.Sleep(5);
}

/// <summary>WalkDirectoryTree</summary>
Expand All @@ -133,9 +136,6 @@ static void WalkDirectoryTree(
{
// 進行状況を表示
Program.ShowProgress(currentDirectory.Name);

//(進行が見えるように)処理を100ミリ秒間休止
Thread.Sleep(100);
}

// First, process all the files directly under this folder
Expand Down

0 comments on commit e03e2e4

Please sign in to comment.