Avoid using SemVer instances
Use strings instead. They are easier to serialize and deserialize.
This commit is contained in:
parent
9b5753ab00
commit
06687e95c8
10 changed files with 26 additions and 26 deletions
2
lib/analyze.js
generated
2
lib/analyze.js
generated
|
|
@ -179,7 +179,7 @@ function createPackSuiteContents(packsWithVersion) {
|
|||
function packWithVersionToQuerySuiteEntry(pack) {
|
||||
let text = `- qlpack: ${pack.packName}`;
|
||||
if (pack.version) {
|
||||
text += `${"\n"} version: ${pack.version.format()}`;
|
||||
text += `${"\n"} version: ${pack.version}`;
|
||||
}
|
||||
return text;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue