From a9c2f06a58bd7fe52cb6553c9492d1b1572e069a Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Mon, 23 Aug 2021 20:12:33 +0200 Subject: [PATCH] Clarifiy that warning and error message numbers start at 1 --- .../actions/reference/workflow-commands-for-github-actions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/actions/reference/workflow-commands-for-github-actions.md b/content/actions/reference/workflow-commands-for-github-actions.md index fe749805fc..53eda7e544 100644 --- a/content/actions/reference/workflow-commands-for-github-actions.md +++ b/content/actions/reference/workflow-commands-for-github-actions.md @@ -142,7 +142,7 @@ echo "::debug::Set the Octocat variable" `::warning file={name},line={line},col={col}::{message}` -Creates a warning message and prints the message to the log. You can optionally provide a filename (`file`), line number (`line`), and column (`col`) number where the warning occurred. +Creates a warning message and prints the message to the log. You can optionally provide a filename (`file`), line number (`line`), and column number (`col`) where the warning occurred. Line and column numbers start at 1. ### Example @@ -154,7 +154,7 @@ echo "::warning file=app.js,line=1,col=5::Missing semicolon" `::error file={name},line={line},col={col}::{message}` -Creates an error message and prints the message to the log. You can optionally provide a filename (`file`), line number (`line`), and column (`col`) number where the error occurred. +Creates an error message and prints the message to the log. You can optionally provide a filename (`file`), line number (`line`), and column number (`col`) where the error occurred. Line and column numbers start at 1. ### Example