Fix more documentation issues

This commit is contained in:
Reinier Criel 2025-11-03 10:20:05 -08:00
parent dadb1a3fba
commit 2accf954ca
2 changed files with 23 additions and 5 deletions

View file

@ -4,6 +4,7 @@ export const pipWheelCommand = "wheel";
/**
* @param {string[]} args
* @returns {string | null}
*/
export function getPipCommandForArgs(args) {
if (!args || args.length === 0) {
@ -22,6 +23,7 @@ export function getPipCommandForArgs(args) {
/**
* @param {string[]} args
* @returns {boolean}
*/
export function hasDryRunArg(args) {
return args.some((arg) => arg === "--dry-run");