Skip to content

Commit

Permalink
fix: downgrade the PlantUML version to 1.2021.13
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Dec 4, 2021
1 parent 84d004e commit d62ace0
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions bin/gdiag.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,6 @@ const fetch = require('node-fetch')
const moment = require('moment');
const glob = require('glob');

/**
* @typedef Args
* @type {object}
* @property {string} wd
* @property {string} td
* @property {string} ld
* @property {number} jc
* @property {number} pv
* @property {boolean} c
*/

/**
* @type Args
*/
const ARGS = getArgs();

function getArgs() {
return require('yargs')
.scriptName('gdiag')
Expand Down Expand Up @@ -53,7 +37,7 @@ function getArgs() {
})
.option('plantuml-version', {
alias: 'pv',
default: "1.2021.15",
default: "1.2021.13",
describe: 'The version of PlantUML to use.',
type: 'string'
})
Expand All @@ -68,6 +52,22 @@ function getArgs() {
.argv;
}

/**
* @typedef Args
* @type {object}
* @property {string} wd
* @property {string} td
* @property {string} ld
* @property {number} jc
* @property {number} pv
* @property {boolean} c
*/

/**
* @type Args
*/
const ARGS = getArgs();

function getLatestRunFile() {
return P.join(ARGS.td, 'LAST_RUN')
}
Expand Down

0 comments on commit d62ace0

Please sign in to comment.