mirror of
https://github.com/CompeyDev/lei.git
synced 2025-05-04 10:43:49 +01:00
build: remove redundant not nil check for error
This commit is contained in:
parent
fb8d0c1514
commit
749c2ae39d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ func buildVm(srcPath string, artifactPath string, includesDir string, cmakeFlags
|
|||
// Build the Luau VM using CMake
|
||||
buildDir := path.Join(srcPath, "cmake")
|
||||
buildDirErr := os.Mkdir(buildDir, os.ModePerm)
|
||||
if buildDirErr != nil && !os.IsExist(buildDirErr) {
|
||||
if !os.IsExist(buildDirErr) {
|
||||
bail(buildDirErr)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue