Skip to content

Commit

Permalink
fix: ignore "Everything is ok!" line on scoop status
Browse files Browse the repository at this point in the history
  • Loading branch information
gitolicious committed Aug 27, 2023
1 parent dffb252 commit bde343b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ ipc.on('scoop-list', (_event) => {
);

ipc.on('scoop-status', (_event) => {
const scoopStatusRegex = /^(?<name>[^\s]+)\s+(?<version>[^\s]+)\s+(?<latest>[^\s]+)\s*$/;
const scoopStatusRegex = /^(?<name>[^\s]+)\s+(?<version>[^\s]+)\s+(?<latest>[^\s]*[^!])\s*$/;
const eventId = getRandomId();

mainWindow.webContents.send('scoop-status-started', eventId);
Expand Down

0 comments on commit bde343b

Please sign in to comment.