mirror of
https://github.com/punga78/k8s-yaml-generator
synced 2026-11-30 02:23:05 +00:00
v3
This commit is contained in:
1 parent
600aebed3b
commit
26aefe665e
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -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)) {
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user