Comparing version 0.3.0-beta3 to 0.3.0-beta4
@@ -18,3 +18,3 @@ const fs = require('fs'); | ||
if(!dockerfile) return reject({message: 'Docker file is not available in current directory', code:'dockerfile-404'}) | ||
if(!dockerfile) return reject({error: 'Docker file is not available in current directory', code:'dockerfile-404'}) | ||
@@ -61,3 +61,3 @@ Helpers.compress(files, source).then(source => { | ||
let ignore = ['workspace.zip'] | ||
if(dockerignore && fs.statSync(dockerignore).isFile()){ | ||
if(dockerignore && fs.existsSync(dockerignore)){ | ||
let ignores = fs.readFileSync(dockerignore).toString().trim().replace('\r', '').split("\n") | ||
@@ -79,3 +79,3 @@ let ig = Ignore().add(ignores) | ||
try { | ||
if(fs.statSync(!source+configPath).isFile()) return false | ||
if(!fs.existsSync(source+configPath)) return false | ||
let config = fs.readFileSync(source+configPath) | ||
@@ -82,0 +82,0 @@ config = yaml.load(config) |
{ | ||
"name": "fandogh", | ||
"version": "0.3.0-beta3", | ||
"version": "0.3.0-beta4", | ||
"description": "fandogh node client", | ||
@@ -5,0 +5,0 @@ "main": "fandogh.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10929