mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 03:57:27 +00:00
Fixed pomRaw reference
This commit is contained in:
parent
cc9cbe651c
commit
c8f9315e0c
2 changed files with 4 additions and 4 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -13692,9 +13692,9 @@ class se_Helper {
|
||||||
meta['mavenGroupId'] = groupId.trim();
|
meta['mavenGroupId'] = groupId.trim();
|
||||||
meta['mavenArtifactId'] = artifactId.trim();
|
meta['mavenArtifactId'] = artifactId.trim();
|
||||||
console.log(JSON.stringify(meta));
|
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 +
|
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;
|
return ret;
|
||||||
|
|
|
||||||
|
|
@ -111,11 +111,11 @@ export class Helper {
|
||||||
meta['mavenArtifactId'] = artifactId.trim()
|
meta['mavenArtifactId'] = artifactId.trim()
|
||||||
console.log(JSON.stringify(meta))
|
console.log(JSON.stringify(meta))
|
||||||
ret.push(
|
ret.push(
|
||||||
pomEntity['pomRaw'].replace('/pom.xml', '/meta.json').substring(1)
|
pomEntity['raw'].replace('/pom.xml', '/meta.json').substring(1)
|
||||||
)
|
)
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
root +
|
root +
|
||||||
pomEntity['pomRaw'].replace('/pom.xml', '/meta.json').substring(1),
|
pomEntity['raw'].replace('/pom.xml', '/meta.json').substring(1),
|
||||||
JSON.stringify(meta)
|
JSON.stringify(meta)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue