mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
fix: pass in doCopy param
This commit is contained in:
parent
411d641aa2
commit
c6ce5a80fa
@ -111,7 +111,7 @@ const copyTransformedContents = (
|
||||
if (doCopy) {
|
||||
writeFileSync(outFile, newBuffer);
|
||||
}
|
||||
logWasOrShouldBeTransformed(outFile, doCopy);
|
||||
logWasOrShouldBeTransformed(fileInFinalDocDir, doCopy);
|
||||
};
|
||||
|
||||
const readSyncedUTF8file = (file: string): string => {
|
||||
@ -153,7 +153,8 @@ const transformMarkdown = (file: string) => {
|
||||
endOfLine: 'auto',
|
||||
printWidth: 100,
|
||||
singleQuote: true,
|
||||
})
|
||||
}),
|
||||
!verifyOnly
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user