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) ) }