This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Bias Types:
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation provides only Windows-style (C:\...) path examples for npm commands and does not show equivalent Linux/macOS examples (e.g., /home/user/...). While the YAML pipeline uses 'ubuntu-latest' as the build agent, all explicit command-line examples use Windows paths, which may confuse or exclude Linux/macOS users.
Recommendations:
  • For every command-line example using a Windows path (e.g., C:\DataFactories\DevDataFactory), provide an equivalent Linux/macOS example (e.g., /home/user/DataFactories/DevDataFactory) alongside.
  • Add a note clarifying that the npm commands work on all platforms and that users should use the appropriate path format for their OS.
  • Wherever possible, use environment variables or relative paths in examples to improve cross-platform clarity.
  • Explicitly mention that the tools and scripts are cross-platform and tested on both Windows and Linux build agents.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ Clean

Flagged Code Snippets

npm run build export C:\DataFactories\DevDataFactory /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/DevDataFactory ArmTemplateOutput
npm run build validate C:\DataFactories\DevDataFactory /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/DevDataFactory