Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "${{ github.ref }}"
echo "${{ github.event.pull_request.base.ref }}"
echo "${{ github.base_ref }}"

git fetch origin "$BASE_BRANCH:$BASE_BRANCH"
# Find changed (M), added (A), or renamed (R) .kt files in the PR
changed_files=$(git diff --name-status origin/"$BASE_BRANCH"...HEAD | grep -E '^(M|A|R).*\.kt$' | awk '{print $NF}' | tr '\n' ' ')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ import com.scorpio.portfoliotracker.data.local.HoldingEntity

@Database(entities = [HoldingEntity::class], version = 1, exportSchema = false)
abstract class AppDatabase : RoomDatabase() {
abstract fun holdingDao(): HoldingDao

abstract fun holdingDao
()
:
HoldingDao
companion object {
@Volatile
private var instance: AppDatabase? = null
Expand All @@ -32,4 +34,4 @@ abstract class AppDatabase : RoomDatabase() {
}
}
}
}
}
Loading