Skip to content

Commit

Permalink
Fix formatting and move the .gitignore file protecting test data
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarne committed Oct 8, 2024
1 parent b9ea9f8 commit 7ff6782
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ public DataType GetDataType(DataElementIdentifier dataElementIdentifier)
var dataType = appMetadata.DataTypes.Find(d => d.Id == dataElement.DataType);
if (dataType is null)
{
throw new InvalidOperationException($"Data type {dataElement.DataType} not found in applicationmetadata.json");
throw new InvalidOperationException(
$"Data type {dataElement.DataType} not found in applicationmetadata.json"
);
}

return dataType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ public DataType GetDataType(DataElementIdentifier dataElementIdentifier)
var dataType = _applicationMetadata.DataTypes.Find(d => d.Id == dataElement.DataType);
if (dataType is null)
{
throw new InvalidOperationException($"Data type {dataElement.DataType} not found in applicationmetadata.json");
throw new InvalidOperationException(
$"Data type {dataElement.DataType} not found in applicationmetadata.json"
);
}

return dataType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ignore guid.json files
????????-????-????-????-????????????.json
# ignore copied blobs
*/*/blob/????????-????-????-????-????????????
*/*/*/blob/????????-????-????-????-????????????

0 comments on commit 7ff6782

Please sign in to comment.