From c8f9315e0c7ff7a9cb6cd34780a17f1b9e020ce7 Mon Sep 17 00:00:00 2001 From: Jonas Bovin Date: Wed, 23 Nov 2022 12:56:03 +0100 Subject: [PATCH] Fixed pomRaw reference --- dist/index.js | 4 ++-- src/se.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 9587769..f446188 100644 --- a/dist/index.js +++ b/dist/index.js @@ -13692,9 +13692,9 @@ class se_Helper { meta['mavenGroupId'] = groupId.trim(); meta['mavenArtifactId'] = artifactId.trim(); console.log(JSON.stringify(meta)); - ret.push(pomEntity['pomRaw'].replace('/pom.xml', '/meta.json').substring(1)); + ret.push(pomEntity['raw'].replace('/pom.xml', '/meta.json').substring(1)); Object(external_fs_.writeFileSync)(root + - pomEntity['pomRaw'].replace('/pom.xml', '/meta.json').substring(1), JSON.stringify(meta)); + pomEntity['raw'].replace('/pom.xml', '/meta.json').substring(1), JSON.stringify(meta)); } } return ret; diff --git a/src/se.ts b/src/se.ts index 2c20d86..16d0779 100644 --- a/src/se.ts +++ b/src/se.ts @@ -111,11 +111,11 @@ export class Helper { meta['mavenArtifactId'] = artifactId.trim() console.log(JSON.stringify(meta)) ret.push( - pomEntity['pomRaw'].replace('/pom.xml', '/meta.json').substring(1) + pomEntity['raw'].replace('/pom.xml', '/meta.json').substring(1) ) fs.writeFileSync( root + - pomEntity['pomRaw'].replace('/pom.xml', '/meta.json').substring(1), + pomEntity['raw'].replace('/pom.xml', '/meta.json').substring(1), JSON.stringify(meta) ) }