Skip to content

Commit

Permalink
Fix generated name of CssScopes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed May 29, 2023
1 parent 1181241 commit eac9d7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bolero.Build/Bolero.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Project>
<ItemGroup>
<BoleroScopedCss Include="**/*.bolero.css">
<!-- For "Foo/Bar.bolero.css", %(Filename) is "Bar.bolero". GetFileName() gives us "Bar". -->
<ScopeName>$([System.IO.Path]::GetFileName('%(Filename)')</ScopeName>
<!-- For "Foo/Bar.bolero.css", %(Filename) is "Bar.bolero". GetFileNameWithoutExtension() gives us "Bar". -->
<ScopeName>$([System.IO.Path]::GetFileNameWithoutExtension('%(Filename)'))</ScopeName>
</BoleroScopedCss>
</ItemGroup>
</Project>

0 comments on commit eac9d7f

Please sign in to comment.