Page MenuHomeDevCentral

Ignore JetBrains path if not found
ClosedPublic

Authored by dereckson on Jan 17 2023, 04:49.
Tags
None
Referenced Files
F2830595: D2743.diff
Fri, Apr 19, 12:58
Unknown Object (File)
Thu, Apr 18, 16:30
Unknown Object (File)
Thu, Apr 18, 09:01
Unknown Object (File)
Thu, Apr 18, 03:20
Unknown Object (File)
Thu, Apr 18, 03:07
Unknown Object (File)
Mon, Apr 15, 13:12
Unknown Object (File)
Sun, Apr 14, 14:41
Unknown Object (File)
Sun, Apr 14, 13:34
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.