X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=src%2Futils%2FFileUtils.ts;h=543a2b23c2eda50f157680f15377ee335ec697da;hb=452a4864d4a8d0286ddd351958d8cc02574b4ba9;hp=bc8dd07c24725d990ae282056fc5ab8d4243b942;hpb=66a7748ddeda8c94d7562a1ce58d440319654a4c;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/FileUtils.ts b/src/utils/FileUtils.ts index bc8dd07c..543a2b23 100644 --- a/src/utils/FileUtils.ts +++ b/src/utils/FileUtils.ts @@ -1,9 +1,9 @@ -import { type FSWatcher, type WatchListener, readFileSync, watch } from 'node:fs' +import { type FSWatcher, readFileSync, watch, type WatchListener } from 'node:fs' +import type { FileType, JsonType } from '../types/index.js' import { handleFileException } from './ErrorUtils.js' import { logger } from './Logger.js' import { isNotEmptyString } from './Utils.js' -import type { FileType, JsonType } from '../types/index.js' export const watchJsonFile = ( file: string,