/
githubmirror
/
PowerShell
Обзор
Документация
Войти
/
githubmirror
/
PowerShell
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tools/super-linter/super-linter.ps1
15 строк
493 B
Travis Plunk
Simplify PR Template (#25268)
03 апр 2025, 19:52
Не верифицирован
03 апр 2025, 19:52
9b0a593
Код
Авторство
О чём код?
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. param( [string]$RepoRoot = (Join-Path -Path $PSScriptRoot -ChildPath '../..'), [string]$Platform ) $resolvedPath = (Resolve-Path $RepoRoot).ProviderPath $platformParam = @() if ($Platform) { $platformParam = @("--platform", $Platform) } docker run $platformParam -e RUN_LOCAL=true --env-file "$PSScriptRoot/config/super-linter.env" -v "${resolvedPath}:/tmp/lint" ghcr.io/super-linter/super-linter:latest