Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Dec 7, 2022
1 parent c6d966e commit 7fd5ec2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/lib/telemetry/src/anonymous-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { getProjectRoot } from '@storybook/core-common';

import { oneWayHash } from './one-way-hash';

const USERNAME_REGEXP = /^.*@(.*:?)/;
export function normalizeGitUrl(rawUrl: string) {
// I don't *think* its possible to set a hash on a origin URL, but just in case
const urlWithoutHash = rawUrl.replace(/#.*$/, '');
Expand Down

0 comments on commit 7fd5ec2

Please sign in to comment.