mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
chore(social): trim post length
This commit is contained in:
parent
0af3029cf1
commit
344c9b6d86
|
@ -16,6 +16,7 @@ const {Octokit} = require("@octokit/rest");
|
|||
notes = notes.replaceAll('**', '');
|
||||
notes = notes.replace(/ \(\[[0-9a-z]+\]\(.*\)/g, '');
|
||||
notes = notes.trim();
|
||||
notes = notes.substring(0, 249);
|
||||
|
||||
const agent = new BskyAgent({ service: 'https://bsky.social' });
|
||||
await agent.login({ identifier: process.env.BLUESKY_IDENTIFIER, password: process.env.BLUESKY_PASSWORD });
|
||||
|
|
Loading…
Reference in a new issue