From aaffc675566d35e4b25ff7b71b3aad15b119fa4f Mon Sep 17 00:00:00 2001 From: Paul Marechal Date: Mon, 6 Mar 2023 11:59:35 -0500 Subject: [PATCH] add missing @injectable() --- packages/core/src/node/filesystem-locking.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/node/filesystem-locking.ts b/packages/core/src/node/filesystem-locking.ts index dee3b26f57d7a..0de3bc2137c6f 100644 --- a/packages/core/src/node/filesystem-locking.ts +++ b/packages/core/src/node/filesystem-locking.ts @@ -15,7 +15,7 @@ // ***************************************************************************** import { Mutex } from 'async-mutex'; -import type { interfaces } from 'inversify'; +import { injectable, interfaces } from 'inversify'; import type { URI } from '../common'; import { FileUri } from './file-uri'; import path = require('path'); @@ -39,6 +39,7 @@ export interface FileSystemLocking { isPathLocked(lockPath: string | URI): boolean; } +@injectable() export class FileSystemLockingImpl implements FileSystemLocking { lockPath(lockPath: string | URI, transaction: (lockPath: string) => T | Promise, thisArg?: unknown): Promise {