mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-16 23:12:08 -08:00
MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be many adjustments necessary
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Pizza
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
|
||||
return _customerMap[y, x];
|
||||
}
|
||||
|
||||
@@ -74,8 +74,8 @@ namespace Pizza
|
||||
/// <returns>True if position is out of range otherwise false.</returns>
|
||||
private bool IsPositionOutOfRange(int x, int y)
|
||||
{
|
||||
return
|
||||
x < 0 || x > _mapSize - 1 ||
|
||||
return
|
||||
x < 0 || x > _mapSize - 1 ||
|
||||
y < 0 || y > _mapSize - 1;
|
||||
}
|
||||
|
||||
@@ -128,4 +128,4 @@ namespace Pizza
|
||||
mapToDisplay.Append(Environment.NewLine);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user