Merge pull request #21 from dustinwloring1988/linting-fix

liniting fix
This commit is contained in:
Dustin Loring 2024-12-01 07:53:27 -05:00 committed by GitHub
commit 8a6d32f9f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 25535 additions and 4 deletions

View File

@ -84,11 +84,11 @@ export class ActionRunner {
}
if (action.executed) {
return;
return; // No return value here
}
if (isStreaming && action.type !== 'file') {
return;
return; // No return value here
}
this.#updateAction(actionId, { ...action, ...data.action, executed: !isStreaming });
@ -100,7 +100,6 @@ export class ActionRunner {
.catch((error) => {
console.error('Action failed:', error);
});
return this.#currentExecutionPromise;
}
async #executeAction(actionId: string, isStreaming: boolean = false) {

View File

@ -11,7 +11,7 @@ interface Logger {
setLevel: (level: DebugLevel) => void;
}
let currentLevel: DebugLevel = import.meta.env.VITE_LOG_LEVEL ?? import.meta.env.DEV ? 'debug' : 'info';
let currentLevel: DebugLevel = (import.meta.env.VITE_LOG_LEVEL ?? import.meta.env.DEV) ? 'debug' : 'info';
const isWorker = 'HTMLRewriter' in globalThis;
const supportsColor = !isWorker;

25530
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -97,6 +97,8 @@
"@blitz/eslint-plugin": "0.1.0",
"@cloudflare/workers-types": "^4.20240620.0",
"@remix-run/dev": "^2.10.0",
"@rollup/plugin-inject": "^5.0.5",
"@jridgewell/sourcemap-codec": "^1.4.15",
"@types/diff": "^5.2.1",
"@types/file-saver": "^2.0.7",
"@types/js-cookie": "^3.0.6",