Skip to content

Commit

Permalink
Move comment to better location
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed May 29, 2024
1 parent 8ef3f8c commit e5b417b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ class NixInstallerAction extends DetSysAction {
);
}

// Detect if we're in a GHA runner which is Linux, doesn't have Systemd, and does have Docker.
// This is a common case in self-hosted runners, providers like [Namespace](https://namespace.so/),
// and especially GitHub Enterprise Server.
async detectAndForceDockerShim(): Promise<void> {
// Detect if we're in a GHA runner which is Linux, doesn't have Systemd, and does have Docker.
// This is a common case in self-hosted runners, providers like [Namespace](https://namespace.so/),
// and especially GitHub Enterprise Server.
if (!this.isLinux) {
if (this.forceDockerShim) {
actionsCore.warning(
Expand Down

0 comments on commit e5b417b

Please sign in to comment.