From 68707d144df5cf01616f8293c0daa9e8edd0b464 Mon Sep 17 00:00:00 2001 From: reza Date: Wed, 19 Dec 2018 00:44:51 +0330 Subject: [PATCH] change fandogh config file name --- helpers.js | 6 +----- package.json | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/helpers.js b/helpers.js index 9fef146..37c28e2 100644 --- a/helpers.js +++ b/helpers.js @@ -2,7 +2,7 @@ const fs = require('fs'); const archiver = require('archiver') const Ignore = require('node-dockerignore') const yaml = require('js-yaml') -const configPath = "/.fandogh/config.yml" +const configPath = "/fandogh.yml" const fandoghConfigs = require('./fandogh.json') const Helpers = { @@ -105,10 +105,6 @@ const Helpers = { }, createYamlFile: ({source, configs}) => { try { - - if (!fs.existsSync(source+'/.fandogh')){ - fs.mkdirSync(source+'/.fandogh'); - } let yml = Helpers.createYamlConfig(configs); fs.writeFileSync(source+configPath, yml) return yml diff --git a/package.json b/package.json index 1ea91da..b115231 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fandogh", - "version": "0.8.0", + "version": "0.9.0", "description": "fandogh node client", "main": "fandogh.js", "scripts": {