diff options
Diffstat (limited to 'Prebuild/src/Core/Nodes/DataNode.cs')
-rw-r--r-- | Prebuild/src/Core/Nodes/DataNode.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Prebuild/src/Core/Nodes/DataNode.cs b/Prebuild/src/Core/Nodes/DataNode.cs index 763e6c3..318b13c 100644 --- a/Prebuild/src/Core/Nodes/DataNode.cs +++ b/Prebuild/src/Core/Nodes/DataNode.cs | |||
@@ -104,7 +104,7 @@ namespace Prebuild.Core.Nodes | |||
104 | 104 | ||
105 | foreach (string type in WebTypes) | 105 | foreach (string type in WebTypes) |
106 | { | 106 | { |
107 | if (path.EndsWith(string.Format("{0}{1}", type, extension))) | 107 | if (path.EndsWith(type)) |
108 | { | 108 | { |
109 | return SubType.CodeBehind; | 109 | return SubType.CodeBehind; |
110 | } | 110 | } |