We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4efb96 commit f044309Copy full SHA for f044309
internal/pkg/cli/init.go
@@ -353,6 +353,11 @@ func newInitOpts(vars initVars) (*initOpts, error) {
353
opts.mftReader = ws
354
opts.wsAppName = initAppCmd.name
355
opts.wsRoot = ws.ProjectRoot()
356
+ sourceSel, err := selector.NewLocalFileSelector(prompt, fs, ws)
357
+ if err != nil {
358
+ return fmt.Errorf("init a new local file selector: %w", err)
359
+ }
360
+ opts.sourceSel = sourceSel
361
opts.wsPendingCreation = false
362
}
363
o.initWlCmd = &opts
0 commit comments