persona-community-5/.pnpm-store/v3/files/ae/8dd5475784334900f0ada238c1bda21d816b1dc688087dd23f227d5421fbc2c2005cea91ddbe25ddecb4a13d79efb5f2bf2b274e9a317f9f9e92a274b22066
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

17 lines
567 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NoChannelTrailingSlash = void 0;
const NoChannelTrailingSlash = () => {
return {
Channel(channel, { report, location }) {
if (channel.address.endsWith('/') && channel.address !== '/') {
report({
message: `\`${channel.address}\` should not have a trailing slash.`,
location: location.key(),
});
}
},
};
};
exports.NoChannelTrailingSlash = NoChannelTrailingSlash;