We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 529dd76 commit 7526b22Copy full SHA for 7526b22
arduino/cores/packagemanager/install_uninstall.go
@@ -52,7 +52,7 @@ func (pm *PackageManager) runPostInstallScript(destDir *paths.Path) error {
52
postInstallFilename = "post_install.bat"
53
}
54
postInstall := destDir.Join(postInstallFilename)
55
- if postInstall.Exist() && !postInstall.IsDir() {
+ if postInstall.Exist() && postInstall.IsNotDir() {
56
cmd, err := executils.Command(postInstall.String())
57
if err != nil {
58
return err
0 commit comments