Skip to content

Commit

Permalink
feat: trim superadmin password
Browse files Browse the repository at this point in the history
  • Loading branch information
starvy committed Feb 24, 2024
1 parent 48365b3 commit e0f455d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/usersplit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function main({
outputFile: string;
superadminFile: string;
}) {
const superadminPassword = fs.readFileSync(path.join(__dirname, superadminFile), 'utf8');
const superadminPassword = fs.readFileSync(path.join(__dirname, superadminFile), 'utf8').trim();
const lines = fs.readFileSync(path.join(__dirname, usersFile), 'utf8').split('\n');
const passwords = fs.readFileSync(path.join(__dirname, passwordsFile), 'utf8').split('\n');

Expand Down

0 comments on commit e0f455d

Please sign in to comment.