mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
[v2] allow no package.json
This commit is contained in:
@@ -394,7 +394,8 @@ func (b *BaseBuilder) NpmInstallUsingCommand(sourceDir string, installCommand st
|
||||
|
||||
// Check package.json exists
|
||||
if !fs.FileExists(packageJSON) {
|
||||
return fmt.Errorf("unable to load package.json at '%s'", packageJSON)
|
||||
// No package.json, no install
|
||||
return nil
|
||||
}
|
||||
|
||||
install := false
|
||||
|
||||
Reference in New Issue
Block a user