Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 675dba7

Browse files
committed
Update types for obs-websocket@5.4.2
1 parent 6d946fc commit 675dba7

File tree

2 files changed

+701
-79
lines changed

2 files changed

+701
-79
lines changed

‎scripts/build-types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const headers = {
7777
};
7878

7979
// Defaulting to the branch for now to get the latest docs-only changes
80-
let commit = process.argv[2] ?? process.env.GH_COMMIT??'master';
80+
let commit = process.argv[2] ?? process.env.GH_COMMIT;
8181
// Get the latest tag
8282
if (!commit) {
8383
const {body: tags} = await got('https://api.github.com/repos/obsproject/obs-websocket/tags', {
@@ -88,6 +88,7 @@ if (!commit) {
8888
commit = tags[0].name as string;
8989
}
9090

91+
console.log(`Getting protocol for ${commit}`);
9192
const {body: protocol} = await got<GeneratedProtocol>(`https://raw.githubusercontent.com/obsproject/obs-websocket/${commit}/docs/generated/protocol.json`, {
9293
headers,
9394
responseType: 'json',

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /