Page MenuHomeDevCentral

Allow Terraform check to run from Windows too
ClosedPublic

Authored by dereckson on Thu, Aug 13, 10:16.

Details

Summary

From Cygwin, with a Python interpreter installed for Windows and not
as a Cygwin package, a POSIX sh script check works if #!/usr/bin/env sh,
but not with a #!/bin/sh shebang.

Even if Cygwin populates correctly sh in /bin directory.

References:

Test Plan

Tested under Windows 11 25H2 (26200.9106), pre-commit 3.8.0
and Cygwin 3.6.10-1.x86_64.

Diff Detail

Repository
rDEVCS Nasqueron codestyle
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Thu, Aug 13, 10:16