From 26aefe665ea37101815a535cbed531b32ee358a9 Mon Sep 17 00:00:00 2001 From: LucaZanni Date: Fri, 5 Jul 2024 20:03:27 +0200 Subject: [PATCH] v3 --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)) {