Skip to content

Commit

Permalink
improvements after code review
Browse files Browse the repository at this point in the history
  • Loading branch information
filfreire committed Jan 20, 2023
1 parent d983de1 commit d467eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/targets/snap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class SnapTarget extends Target {
if (options.base != null) {
snap.base = options.base
// from core22 onwards adapter is legacy
if (snap.base === "core22") {
if (Number(snap.base.split("core")[1]) >= 22) {
delete appDescriptor.adapter
}
}
Expand Down

0 comments on commit d467eac

Please sign in to comment.