From 1f336267c40221cd24719ecdc221e174395ca7e3 Mon Sep 17 00:00:00 2001 From: mohamed yahia Date: Wed, 15 Nov 2023 13:43:58 +0200 Subject: [PATCH] Update src/lib/readLocalMarkdownFileToObject.ts imports Co-authored-by: Ola Rubaj <52197250+olayway@users.noreply.github.com> --- src/lib/readLocalMarkdownFileToObject.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/readLocalMarkdownFileToObject.ts b/src/lib/readLocalMarkdownFileToObject.ts index 1fafb71..cc50993 100644 --- a/src/lib/readLocalMarkdownFileToObject.ts +++ b/src/lib/readLocalMarkdownFileToObject.ts @@ -1,10 +1,12 @@ import fs from "fs"; import path from "path"; -import { parseMarkdownContent } from "../utils/index.js"; +import { + parseMarkdownContent, + generateFileIdFromPath, + getFileExtensionFromPath +} from "../utils/index.js"; import type { FileObject } from "./types/FileObject.js"; import { MddbFile } from "./schema.js"; -import { generateFileIdFromPath } from "../utils/index.js"; -import { getFileExtensionFromPath } from "../utils/index.js"; export function readLocalMarkdownFileToObject( folderPath: string,