Skip to content

Commit

Permalink
Run ts-ci on PRs too
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Nov 13, 2023
1 parent 391af3b commit bd8ebac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: TypeScript

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion typescript/ai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class R2AI {
this.model = model;
}
} else {
console.error("ERROR: r2ai is not installed");
throw new Error ("ERROR: r2ai is not installed");
}
}
reset() {
Expand Down

0 comments on commit bd8ebac

Please sign in to comment.