Skip to content

Commit

Permalink
Disable puml metadata output (#1359)
Browse files Browse the repository at this point in the history
Puml metadata output causes frequent, unnecessary changes to generated
puml images in the test sites.

Let's disable this as such, reducing the frequency of such changes.

However, changes due to differences in environments, such as a
different graphviz version, may still cause such changes.
  • Loading branch information
ang-zeyu authored Sep 20, 2020
1 parent 7ebe7ce commit c4664f2
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/cli/test/functional/test_site/expected/diagrams/class.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/cli/test/functional/test_site/expected/diagrams/state.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/cli/test/functional/test_site/expected/inline-output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function generateDiagram(imageOutputPath, content) {
}

// Java command to launch PlantUML jar
const cmd = `java -jar "${JAR_PATH}" -pipe > "${imageOutputPath}"`;
const cmd = `java -jar "${JAR_PATH}" -nometadata -pipe > "${imageOutputPath}"`;
const childProcess = exec(cmd);

let errorLog = '';
Expand Down

0 comments on commit c4664f2

Please sign in to comment.