Skip to content

Commit

Permalink
Fix formatting issues in code
Browse files Browse the repository at this point in the history
  • Loading branch information
Patsagorn committed Nov 28, 2023
1 parent 05c6af5 commit 6fb5eed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Exepct typescript files

src/**/*.js

!*.ts
!*.json
web/**/*.{js,ts,css,scss,html}
4 changes: 2 additions & 2 deletions dist/patsabot/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ if (argv[0] === '--help' || argv[0] === '-h') {
}
if (argv[0] !== undefined && argv[0] != '--help' && argv[0] != '-h') {
const ls = spawn(
'$HOME/.bun/bin/bun',
'node',
[
resolve(
dirname(fileURLToPath(import.meta.url)),
`../scripts/${argv[0]}.ts`
`../scripts/${argv[0]}.js`
),
...argv.splice(1),
],
Expand Down
4 changes: 2 additions & 2 deletions src/patsabot/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ if (argv[0] === '--help' || argv[0] === '-h') {

if (argv[0] !== undefined && argv[0] != '--help' && argv[0] != '-h') {
const ls = spawn(
'$HOME/.bun/bin/bun',
'node',
[
resolve(
dirname(fileURLToPath(import.meta.url)),
`../scripts/${argv[0]}.ts`
`../scripts/${argv[0]}.js`
),
...argv.splice(1),
],
Expand Down

0 comments on commit 6fb5eed

Please sign in to comment.