Skip to content

Commit 4b5513d

Browse files
committed
[INTERNAL] Infra: JSDoc resolve versionUtil after mvn build
SNOW: N/A Change-Id: I6808ac55472ce3f488dc1d1db465d9cb9198de5b
1 parent ff968af commit 4b5513d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/jsdoc/ui5/plugin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ const path = require('jsdoc/path');
7373
const logger = require('jsdoc/util/logger');
7474
const pluginConfig = (env.conf && env.conf.templates && env.conf.templates.ui5) || env.opts.sapui5 || {};
7575
const escope = require("escope");
76-
const {isSemVer} = require("./template/utils/versionUtil");
76+
const templatePath = path.getResourcePath(env.opts.template) || "./template";
77+
const {isSemVer} = require(`${templatePath}/utils/versionUtil`);
7778

7879
/* ---- logging ---- */
7980

0 commit comments

Comments
 (0)