Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 1e15689

Browse files
committed
CI: Only check LANG or LC_ALL on non-Windows systems
1 parent 0935765 commit 1e15689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cr8/run_crate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def __init__(self,
274274
self.env.setdefault('JAVA_HOME', java_home)
275275
self.env.setdefault('LANG',
276276
os.environ.get('LANG', os.environ.get('LC_ALL')))
277-
if not self.env['LANG']:
277+
if sys.platform != "win32" and not self.env['LANG']:
278278
raise SystemExit('Your locale are not configured correctly. '
279279
'Please set LANG or alternatively LC_ALL.')
280280
self.monitor = OutputMonitor()

0 commit comments

Comments
 (0)