mirror of https://github.com/actions/toolkit
Run formatter
parent
6bd119002c
commit
140d6cd367
|
@ -28,7 +28,11 @@ export function issue(name: string, message: string) {
|
||||||
const CMD_PREFIX = '##['
|
const CMD_PREFIX = '##['
|
||||||
|
|
||||||
class Command {
|
class Command {
|
||||||
constructor(command: string, properties: {[key: string]: string}, message: string) {
|
constructor(
|
||||||
|
command: string,
|
||||||
|
properties: {[key: string]: string},
|
||||||
|
message: string
|
||||||
|
) {
|
||||||
if (!command) {
|
if (!command) {
|
||||||
command = 'missing.command'
|
command = 'missing.command'
|
||||||
}
|
}
|
||||||
|
@ -80,4 +84,4 @@ function escape(s: string): string {
|
||||||
.replace(/\n/g, '%0A')
|
.replace(/\n/g, '%0A')
|
||||||
.replace(/]/g, '%5D')
|
.replace(/]/g, '%5D')
|
||||||
.replace(/;/g, '%3B')
|
.replace(/;/g, '%3B')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue