Page MenuHomeDevCentral

Ignore JetBrains path if not found
ClosedPublic

Authored by dereckson on Jan 17 2023, 04:49.
Tags
None
Referenced Files
F33804302: D2743.diff
Sun, Jun 21, 13:55
Unknown Object (File)
Fri, Jun 19, 21:24
Unknown Object (File)
Wed, Jun 17, 23:27
Unknown Object (File)
Wed, Jun 17, 23:25
Unknown Object (File)
Tue, Jun 16, 04:11
Unknown Object (File)
Mon, Jun 15, 04:02
Unknown Object (File)
Mon, Jun 15, 04:02
Unknown Object (File)
Sun, Jun 14, 04:26
Subscribers
None

Details

Summary

If the script runs on a machine without JetBrains IDE installed,
like a remote dev server with hunspell (or nothing), it currently
fails loudly. Instead, it should skip the import.

Fixes the following issue:

FileNotFoundError: [Errno 2] No such file or directory:
'/home/dereckson/.config/JetBrains'
Test Plan

bin/merge-dictionaries --extract on a machine
where any JetBrains IDE isn't installed.

Diff Detail

Repository
rMD Merge dev dictionaries
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jan 17 2023, 04:50
This revision was automatically updated to reflect the committed changes.