Rename files to have internal- nomenclature
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import {issue, issueCommand} from './command'
|
import {issue, issueCommand} from './internal-command'
|
||||||
import {issueCommand as issueFileCommand} from './file-command'
|
import {issueCommand as issueFileCommand} from './file-command'
|
||||||
import {toCommandProperties, toCommandValue} from './utils'
|
import {toCommandProperties, toCommandValue} from './internal-utils'
|
||||||
|
|
||||||
import * as os from 'os'
|
import * as os from 'os'
|
||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
import * as fs from 'fs'
|
import * as fs from 'fs'
|
||||||
import * as os from 'os'
|
import * as os from 'os'
|
||||||
import {toCommandValue} from './utils'
|
import {toCommandValue} from './internal-utils'
|
||||||
|
|
||||||
export function issueCommand(command: string, message: any): void {
|
export function issueCommand(command: string, message: any): void {
|
||||||
const filePath = process.env[`GITHUB_${command}`]
|
const filePath = process.env[`GITHUB_${command}`]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import * as os from 'os'
|
import * as os from 'os'
|
||||||
import {toCommandValue} from './utils'
|
import {toCommandValue} from './internal-utils'
|
||||||
|
|
||||||
// For internal use, subject to change.
|
// For internal use, subject to change.
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
|
|
||||||
import {AnnotationProperties} from './core'
|
import {AnnotationProperties} from './core'
|
||||||
import {CommandProperties} from './command'
|
import {CommandProperties} from './internal-command'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sanitizes an input into a string so it can be passed into issueCommand safely
|
* Sanitizes an input into a string so it can be passed into issueCommand safely
|
||||||
@@ -21,7 +21,7 @@ export function toCommandValue(input: any): string {
|
|||||||
*
|
*
|
||||||
* @param annotationProperties
|
* @param annotationProperties
|
||||||
* @returns The command properties to send with the actual annotation command
|
* @returns The command properties to send with the actual annotation command
|
||||||
* See IssueCommandProperties: https://github.com/actions/runner/blob/fff31e11c5208854164adb5e2532b822fbca7574/src/Runner.Worker/ActionCommandManager.cs#L646
|
* See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646
|
||||||
*/
|
*/
|
||||||
export function toCommandProperties(
|
export function toCommandProperties(
|
||||||
annotationProperties: AnnotationProperties
|
annotationProperties: AnnotationProperties
|
||||||
Reference in New Issue
Block a user