Skip to content

Commit

Permalink
fix: misc runtime robustness found by typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Mar 11, 2024
1 parent 37efb5a commit a033f26
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/pegasus/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"checkJs": false,
"maxNodeModuleJsDepth": 2,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/solo/src/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ const start = async (basedir, argv) => {

// Start timer here!
startTimer(800);
resetOutdatedState();
await resetOutdatedState();

// Remove wallet traces.
await unlink('html/wallet').catch(_ => {});
Expand Down
4 changes: 2 additions & 2 deletions packages/swing-store/src/swingStore.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check
/* global Buffer */
import fs from 'fs';
import path from 'path';
import * as fs from 'fs';
import * as path from 'path';

import sqlite3 from 'better-sqlite3';

Expand Down

0 comments on commit a033f26

Please sign in to comment.