fix: Windows CI — resolve paths in validation, remove unused constant

- normalizeForCompare and isPathWithinRoot now use path.resolve()
  for consistent drive-letter handling on Windows
- Remove unused TOOL_VERSION constant (ESLint no-unused-vars)
This commit is contained in:
iliya 2026-03-01 08:42:20 +02:00
parent 20d563d737
commit 91e39cd462

View file

@ -9,7 +9,6 @@ import { version as APP_VERSION } from '../../../../package.json';
import { atomicWriteAsync } from './atomicWrite';
const TOOL_FILE_NAME = 'teamctl.js';
const TOOL_VERSION = 11;
function buildTeamCtlScript(version: string): string {
const script = String.raw`#!/usr/bin/env node