Skip to content

Commit

Permalink
小さな修正
Browse files Browse the repository at this point in the history
nullチェック忘れ
  • Loading branch information
y9o committed Jan 27, 2020
1 parent ee66978 commit db1285a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static void scanFolder(Options _op)
if (max > 0)
{
Console.WriteLine("ISBN: " + isbn);
if (op.Out != "")
if (op.Out != null && op.Out != "")
{
System.IO.File.WriteAllText(op.Out, isbn);
Console.WriteLine("output: " + op.Out);
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます
// 既定値にすることができます:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.0.0.0")]
[assembly: AssemblyFileVersion("0.0.0.0")]
[assembly: AssemblyVersion("0.0.0.1")]
[assembly: AssemblyFileVersion("0.0.0.1")]

0 comments on commit db1285a

Please sign in to comment.