replaceAll -> replace
This commit is contained in:
parent
0497ff4707
commit
59463d3e77
4
main.js
4
main.js
|
@ -22,7 +22,7 @@ async function getOS(distribution) {
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
try {
|
try {
|
||||||
const targetArchitectures = core.getInput("target_architectures").replaceAll(" ", "").split(",") || []
|
const targetArchitectures = core.getInput("target_architectures").replace(" ", "").split(",") || []
|
||||||
|
|
||||||
const sourceRelativeDirectory = core.getInput("source_directory") || "./"
|
const sourceRelativeDirectory = core.getInput("source_directory") || "./"
|
||||||
const artifactsRelativeDirectory = core.getInput("artifacts_directory") || "./"
|
const artifactsRelativeDirectory = core.getInput("artifacts_directory") || "./"
|
||||||
|
@ -35,7 +35,7 @@ async function main() {
|
||||||
// (Seems to not recognize that some packages are installed)
|
// (Seems to not recognize that some packages are installed)
|
||||||
"-d"
|
"-d"
|
||||||
]
|
]
|
||||||
const dpkgBuildPackageOpts = core.getInput("dpkg_buildpackage_opts").replaceAll(" ", "").split(",") || defaultDpkgBuildPackageOpts
|
const dpkgBuildPackageOpts = core.getInput("dpkg_buildpackage_opts").replace(" ", "").split(",") || defaultDpkgBuildPackageOpts
|
||||||
const lintianOpts = core.getInput("lintian_opts") || []
|
const lintianOpts = core.getInput("lintian_opts") || []
|
||||||
|
|
||||||
const workspaceDirectory = process.cwd()
|
const workspaceDirectory = process.cwd()
|
||||||
|
|
Loading…
Reference in a new issue