Skip to content

Commit 839ff27

Browse files
committed
🤖 Fix: Remove async from LocalRuntime.resolvePath()
Method no longer uses await, so removing async keyword to satisfy linter. Generated with `cmux`
1 parent d27fdc9 commit 839ff27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/LocalRuntime.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,12 +301,12 @@ export class LocalRuntime implements Runtime {
301301
}
302302
}
303303

304-
async resolvePath(filePath: string): Promise<string> {
304+
resolvePath(filePath: string): Promise<string> {
305305
// Expand tilde to actual home directory path
306306
const expanded = expandTilde(filePath);
307307

308308
// Resolve to absolute path (handles relative paths like "./foo")
309-
return path.resolve(expanded);
309+
return Promise.resolve(path.resolve(expanded));
310310
}
311311

312312
normalizePath(targetPath: string, basePath: string): string {

0 commit comments

Comments
 (0)