You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -124,8 +138,7 @@ func validateContentPlugTargets(container snap.Container, info *snap.Info) error
124
138
// only the $SNAP and/or / combination prefix was present
125
139
continue
126
140
}
127
-
fi, err:=container.Lstat(relPath)
128
-
iferr!=nil||!fi.IsDir() {
141
+
if!isDir(container, relPath) {
129
142
returnfmt.Errorf("content interface plug %q target %v must exist and must be a directory, ensure it is present in the snap or created before packing", plugName, target)
0 commit comments