mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 22:34:24 +00:00
Fixing framework loading
This commit is contained in:
parent
6f249df4bf
commit
668a25221f
@ -327,8 +327,9 @@ class Cmd {
|
||||
scaffold() {
|
||||
program
|
||||
.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){
|
||||
|
||||
let environment = env || 'development';
|
||||
|
||||
if(contract === undefined){
|
||||
|
Loading…
x
Reference in New Issue
Block a user