Skip to content

Commit c22be6e

Browse files
authored
Renamed incorrect RemoveRobots extension method
1 parent 0b70e74 commit c22be6e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/).
66

7+
## [1.2.2] - 2022-02-27
8+
### Changed
9+
* Renamed incorrect `RemoveRobots` extension method
10+
711
## [1.2.1] - 2021-06-29
812
### Changed
913
* Default `IRobotsBuilder` implementations are public to improve extensibility
@@ -34,7 +38,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/) and this
3438
### Added
3539
* Initial release of Friendly Robots for Umbraco 8.1
3640

37-
[Unreleased]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.2.1...HEAD
41+
[Unreleased]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.2.2...HEAD
42+
[1.2.2]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.2.1...release-1.2.2
3843
[1.2.1]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.2.0...release-1.2.1
3944
[1.2.0]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.1.0...release-1.2.0
4045
[1.1.0]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.0.0...release-1.1.0

src/Our.Umbraco.FriendlyRobots/Composing/CompositionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static void RegisterRobots<T>(this Composition composition, string path)
1212
.Add<T>(path);
1313
}
1414

15-
public static void RegisterRobots(this Composition composition, string path)
15+
public static void RemoveRobots(this Composition composition, string path)
1616
{
1717
composition.WithCollectionBuilder<RobotsCollectionBuilder>()
1818
.Remove(path);

0 commit comments

Comments
 (0)