Skip to content

Commit 820b7b7

Browse files
committed
feat: added command not found
1 parent 71b6a73 commit 820b7b7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/cleanup-github-actions.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ await PluginTester.uninstall(pluginPath, [
99
{ type: 'aws-cli'}
1010
]);
1111

12-
await testSpawn('apt-get autoremove -y ruby rpm python command-not-found', { requiresRoot: true });
12+
await testSpawn('apt-get autoremove -y ruby rpm python', { requiresRoot: true });
1313
await testSpawn('rustup self uninstall -y');
1414

1515
await testSpawn('rm -rf /usr/bin/go', { requiresRoot: true })
1616
await testSpawn('rm -rf /usr/bin/python', { requiresRoot: true })
1717
await testSpawn('rm -rf /usr/bin/python3', { requiresRoot: true })
1818
await testSpawn('rm -rf /usr/bin/ruby', { requiresRoot: true })
19+
20+
await testSpawn('rm -rf /var/lib/command-not-found/*', { requiresRoot: true });
21+
await testSpawn('apt update', { requiresRoot: true });
22+
await testSpawn('/usr/lib/cnf-update-db', { requiresRoot: true })

0 commit comments

Comments
 (0)