mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-25 06:28:51 +00:00
Fixing framework loading
This commit is contained in:
parent
ebc7c4c19a
commit
370f528f90
@ -349,8 +349,9 @@ class Cmd {
|
|||||||
scaffold() {
|
scaffold() {
|
||||||
program
|
program
|
||||||
.command('scaffold [contract] [environment]')
|
.command('scaffold [contract] [environment]')
|
||||||
.option('--framework', 'UI framework to use. (default: react)')
|
.option('--framework <framework>', 'UI framework to use. (default: react)')
|
||||||
.action(function(contract, env, options){
|
.action(function(contract, env, options){
|
||||||
|
|
||||||
let environment = env || 'development';
|
let environment = env || 'development';
|
||||||
|
|
||||||
if(contract === undefined){
|
if(contract === undefined){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user