generator-hl-challenge
Advanced tools
Comparing version 1.4.11 to 1.4.12
@@ -160,3 +160,6 @@ const Generator = require('yeoman-generator'); | ||
); | ||
this.fs.write( | ||
this.destinationPath(this.answers.uuid + '.env'), | ||
'GOLDNUGGET=SED_GOLDNUGGET' | ||
); | ||
this.fs.copyTpl( | ||
@@ -168,2 +171,9 @@ this.templatePath('flag-deploy-scripts'), | ||
} | ||
//if no gold nugget add a empty root folder | ||
if (!this.answers.goldnugget) { | ||
this.fs.write( | ||
this.destinationPath('root'), | ||
'This folder is empty' | ||
); | ||
} | ||
@@ -170,0 +180,0 @@ if (fs.existsSync(this.templatePath(this.answers.image))) { |
{ | ||
"name": "generator-hl-challenge", | ||
"version": "1.4.11", | ||
"version": "1.4.12", | ||
"description": "Hacking-Lab Challenge container generator", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
8269169
49161