forked from microsoft/security-devops-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutils.d.ts
More file actions
14 lines (14 loc) · 641 Bytes
/
Copy pathutils.d.ts
File metadata and controls
14 lines (14 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { AnnotationProperties } from './core';
import { CommandProperties } from './command';
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
export declare function toCommandValue(input: any): string;
/**
*
* @param annotationProperties
* @returns The command properties to send with the actual annotation command
* See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646
*/
export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties;