Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore-scripts=true
min-release-age=3
registry=https://registry.npmjs.org
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry "https://registry.npmjs.org"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@guidepup/setup",
"version": "0.29.0",
"version": "0.29.1",
"description": "CLI for configuring environments and install screen reader assets for Guidepup.",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -48,7 +48,7 @@
"typescript": "^5.6.2"
},
"optionalDependencies": {
"@guidepup/record": "^0.1.0"
"@guidepup/record": "^0.2.0"
},
"dependencies": {
"chalk": "^4.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/setup/macOS/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export async function setup({
const osName = platform();
const osVersion = release();

let stopRecording: () => void = () => null;
let stopRecording: () => Promise<void> = () => Promise.resolve(null);

if (macosRecord) {
try {
Expand Down Expand Up @@ -104,6 +104,6 @@ export async function setup({

await waitForAppleScriptControl();
} finally {
stopRecording();
await stopRecording?.();
}
}
Loading
Loading