diff --git a/dist/index.js b/dist/index.js index 90ac25d..1a306fa 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31265,7 +31265,7 @@ yamlContents.push(yaml.dump(autoscaler, yamlOptions)); const allYaml = yamlContents.join("\n---\n"); -const directoryPath = path.join(__dirname, "k8s"); // Imposta il percorso della directory +const directoryPath = path.join('.', "k8s"); // Imposta il percorso della directory // Verifica se la directory esiste if (!fs.existsSync(directoryPath)) { diff --git a/index.js b/index.js index 65f832d..2308ab8 100644 --- a/index.js +++ b/index.js @@ -170,7 +170,7 @@ yamlContents.push(yaml.dump(autoscaler, yamlOptions)); const allYaml = yamlContents.join("\n---\n"); -const directoryPath = path.join(__dirname, "k8s"); // Imposta il percorso della directory +const directoryPath = path.join('.', "k8s"); // Imposta il percorso della directory // Verifica se la directory esiste if (!fs.existsSync(directoryPath)) {