Skip to content

Commit

Permalink
Rename files to have internal- nomenclature
Browse files Browse the repository at this point in the history
  • Loading branch information
luketomlinson committed Jul 13, 2021
1 parent f1d9385 commit 7911689
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/core.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {issue, issueCommand} from './command'
import {issue, issueCommand} from './internal-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 path from 'path'
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/file-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import * as fs from 'fs'
import * as os from 'os'
import {toCommandValue} from './utils'
import {toCommandValue} from './internal-utils'

export function issueCommand(command: string, message: any): void {
const filePath = process.env[`GITHUB_${command}`]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as os from 'os'
import {toCommandValue} from './utils'
import {toCommandValue} from './internal-utils'

// For internal use, subject to change.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable @typescript-eslint/no-explicit-any */

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
Expand All @@ -21,7 +21,7 @@ export 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/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(
annotationProperties: AnnotationProperties
Expand Down

0 comments on commit 7911689

Please sign in to comment.