prisma-markdown
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -61,3 +61,3 @@ "use strict"; | ||
const part = content.slice(first + 7, last).trim(); | ||
const space = part.indexOf(" ", first + 7); | ||
const space = part.indexOf(" "); | ||
rejoined.push(content.slice(i, first)); | ||
@@ -64,0 +64,0 @@ if (space === -1) |
{ | ||
"name": "prisma-markdown", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Prisma Markdown documents generator including ERD diagrams and comment descriptions", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -63,4 +63,5 @@ import { DMMF } from "@prisma/client/runtime/library"; | ||
const part: string = content.slice(first + 7, last).trim(); | ||
const space: number = part.indexOf(" ", first + 7); | ||
const space: number = part.indexOf(" "); | ||
rejoined.push(content.slice(i, first)); | ||
if (space === -1) | ||
@@ -67,0 +68,0 @@ rejoined.push(`[${part}](#${part.split(".")[0]})`); |
Sorry, the diff of this file is not supported yet
35978