Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maintain: const over let, consistency #5494

Open
wants to merge 6 commits into
base: master
from
Open
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Merge branch 'master' into maintenance

  • Loading branch information
kmdrGroch committed Dec 5, 2019
commit 71c9456ea7f702e3a69deff0861860a249e92bb8
@@ -273,10 +273,13 @@ const util = {
[androidResNightSource]: androidResNightDest
}

for (const androidSourceFile of androidSourceFiles) {
const destinationFile = path.join(androidIconDest, path.relative(androidIconSource, androidSourceFile))
if (util.calculateFileChecksum(androidSourceFile) != util.calculateFileChecksum(destinationFile)) {
fs.copySync(androidSourceFile, destinationFile)
console.log('copy Android app icons and app resources')
Object.entries(copyAndroidResourceMapping).map(([sourcePath, destPath]) => {
let androidSourceFiles = []
if (fs.statSync(sourcePath).isDirectory()) {
androidSourceFiles = util.walkSync(sourcePath)
} else {
androidSourceFiles = [sourcePath]
}

for (const androidSourceFile of androidSourceFiles) {
You are viewing a condensed version of this merge commit. You can view the full changes here.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.