We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f324b11 + 3502db4 commit c091073Copy full SHA for c091073
src/features/linter-provider.ts
@@ -33,11 +33,9 @@ export default class FortranLintingProvider {
33
*
34
* see also: https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html
35
*/
36
- const env = {
37
- ...process.env,
38
- LC_ALL: 'C'
39
- };
40
- if (process.platform == 'win32') {
+ const env = process.env;
+ env.LC_ALL = 'C';
+ if (process.platform === 'win32') {
41
// Windows needs to know the path of other tools
42
if (!env.Path.includes(path.dirname(command))) {
43
env.Path = `${path.dirname(command)}${path.delimiter}${env.Path}`;
0 commit comments