Skip to content

Commit

Permalink
Remove outdated docs and other minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ly0va committed Oct 30, 2020
1 parent 2eb1e96 commit 60421ac
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 79 deletions.
Binary file removed docs/kube-config.png
Binary file not shown.
36 changes: 0 additions & 36 deletions docs/kubernetes.md

This file was deleted.

42 changes: 0 additions & 42 deletions docs/promote.md

This file was deleted.

6 changes: 6 additions & 0 deletions infrastructure/zk/src/completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// If the completion script is installed, there is no need to update it after adding a new subcommand

import { Command, Option } from 'commander';
import * as utils from './utils';
import tabtab from 'tabtab';

type CommandInfo = {
Expand Down Expand Up @@ -60,6 +61,11 @@ export function command(program: Command) {
name: 'zk',
completer: 'zk'
});
utils.replaceInFile(
`${process.env.HOME}/.config/tabtab/zk.bash`,
'zk completion --',
'zk completion'
);
});

completion
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/zk/src/db/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export async function drop() {
export async function migrate() {
await utils.confirmAction();
console.log('Running migrations...');
await utils.exec('cd core/storage && diesel migration run');
await utils.exec('cd core/lib/storage && diesel migration run');
}

export async function setup() {
Expand Down

0 comments on commit 60421ac

Please sign in to comment.