Skip to content

Commit

Permalink
fixed pushd/.. not working
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Sep 14, 2023
1 parent cd7e45b commit cfb82ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: regen-protobuf
name: Regenerate protobuf files
files: server/api/
entry: sh -c "(cd server/api && sh generate.sh)"
entry: sh -c "(cd server/api && sh generate.bash)"
language: system
pass_filenames: false
stages: [commit]
Expand Down
4 changes: 2 additions & 2 deletions server/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ Follow the installation instructions detailed here: https://docs.buf.build/insta
Alternatively, we have prepared this installation script:

```shell
sh installBuf.sh
sh installBuf.bash
```

## Generating

Once you have installed all dependencies, run `./generate.sh` to update the client and server `Protocol Buffers` definitions.
Once you have installed all dependencies, run `./generate.bash` to update the client and server `Protocol Buffers` definitions.

# Common Issues

Expand Down
2 changes: 1 addition & 1 deletion server/api/generate.sh → server/api/generate.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# needs buf: https://docs.buf.build/installation#github-releases
BASEDIR=$(dirname "$0")
Expand Down

0 comments on commit cfb82ed

Please sign in to comment.