Skip to content

Commit

Permalink
ci: remove generate random name function due to it is not needed in t…
Browse files Browse the repository at this point in the history
…he admin plugin, only in the template
  • Loading branch information
clauBv23 committed Mar 14, 2024
1 parent 83f4465 commit 87c5434
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/contracts/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,5 @@ export async function createVersion(
return tx;
}

export function generateRandomName(length: number): string {
const allowedCharacters = 'abcdefghijklmnopqrstuvwxyz-0123456789';
let result = '';
for (let i = 0; i < length; i++) {
result += allowedCharacters.charAt(
Math.floor(Math.random() * allowedCharacters.length)
);
}
return result;
}

export const AragonOSxAsciiArt =
" ____ _____ \n /\\ / __ \\ / ____| \n / \\ _ __ __ _ __ _ ___ _ __ | | | | (_____ __ \n / /\\ \\ | '__/ _` |/ _` |/ _ \\| '_ \\ | | | |\\___ \\ \\/ / \n / ____ \\| | | (_| | (_| | (_) | | | | | |__| |____) > < \n /_/ \\_\\_| \\__,_|\\__, |\\___/|_| |_| \\____/|_____/_/\\_\\ \n __/ | \n |___/ \n";

0 comments on commit 87c5434

Please sign in to comment.