Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
992a776fd2 | |||
3e15a2d52f |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@serve.zone/nupst",
|
||||
"version": "4.3.1",
|
||||
"version": "4.3.2",
|
||||
"exports": "./mod.ts",
|
||||
"tasks": {
|
||||
"dev": "deno run --allow-all mod.ts",
|
||||
|
@@ -152,10 +152,7 @@ export class ActionHandler {
|
||||
|
||||
logger.log('');
|
||||
logger.success(`Action added to ${targetType} ${targetName}`);
|
||||
logger.log('');
|
||||
logger.log(
|
||||
` ${theme.dim('Restart service to apply changes:')} ${theme.command('nupst service restart')}`,
|
||||
);
|
||||
logger.log(` ${theme.dim('Changes saved and will be applied automatically')}`);
|
||||
logger.log('');
|
||||
} finally {
|
||||
rl.close();
|
||||
@@ -241,10 +238,7 @@ export class ActionHandler {
|
||||
` ${theme.dim('Thresholds:')} Battery: ${removedAction.thresholds.battery}%, Runtime: ${removedAction.thresholds.runtime}min`,
|
||||
);
|
||||
}
|
||||
logger.log('');
|
||||
logger.log(
|
||||
` ${theme.dim('Restart service to apply changes:')} ${theme.command('nupst service restart')}`,
|
||||
);
|
||||
logger.log(` ${theme.dim('Changes saved and will be applied automatically')}`);
|
||||
logger.log('');
|
||||
} catch (error) {
|
||||
logger.error(
|
||||
|
Reference in New Issue
Block a user