Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit 788ed3c

Browse files
committed
docs (README): add thatonedude3470 to contributors
Change-Id: I03bc9e7ee79a762c03fbb84c74788c8834f670d4
1 parent 854036c commit 788ed3c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,3 +207,4 @@ If you like my work and like to keep me motivated you can buy me a coconut water
207207
- [joiyco](https://github.com/joiyco)
208208
- [EccoB](https://github.com/EccoB)
209209
- [couz74](https://github.com/couz74)
210+
- [thatonedude3470](https://github.com/thatonedude3470)

src/js/sync-to-drive.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ const getDriveInfo = ({drive}) => {
7474
}
7575

7676
return json.blockdevices.find(
77-
(blk) => blk.subsystems.includes('usb') &&
77+
(blk) =>
78+
blk.subsystems.includes('usb') &&
7879
((blk.name && drive === blk.name.toLowerCase()) ||
7980
(blk.kname && drive === blk.kname.toLowerCase()) ||
8081
(blk.path && drive === blk.path.toLowerCase()) ||
@@ -124,9 +125,9 @@ const startSync = ({dataAbsPath, drive}) => {
124125
'-b',
125126
`--backup-dir=${path.join(drive.mountpoint, 'deleted')}`,
126127
'--ignore-existing',
127-
'--include=\'*.jpg\'',
128-
'--include=\'*/\'',
129-
'--exclude=\'*\'',
128+
"--include='*.jpg'",
129+
"--include='*/'",
130+
"--exclude='*'",
130131
'--prune-empty-dirs',
131132
dataAbsPath,
132133
path.join(drive.mountpoint, SYNC_DESTINATION_DIR)

0 commit comments

Comments
 (0)