mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-17 09:29:30 +08:00
patch
This commit is contained in:
parent
3d9e9a1342
commit
718bb1b852
@ -3,7 +3,7 @@ package cmd
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/masterminds/semver"
|
"github.com/Masterminds/semver"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SemanticVersion is a struct containing a semantic version
|
// SemanticVersion is a struct containing a semantic version
|
||||||
@ -18,7 +18,7 @@ func NewSemanticVersion(version string) (*SemanticVersion, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return &SemanticVersion{
|
return &SemanticVersion{
|
||||||
Version: semverVersion,
|
Version: &semverVersion,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user