1
0
Fork 0

raising not implemented earlier

pull/83/head
Bryan MacFarlane 2019-08-24 09:22:38 -04:00
parent 4ebc9007c0
commit a2078cf37c
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@actions/core", "name": "@actions/core",
"version": "1.0.0", "version": "1.0.1",
"description": "Actions core lib", "description": "Actions core lib",
"keywords": [ "keywords": [
"github", "github",

View File

@ -46,6 +46,9 @@ export function exportVariable(name: string, val: string): void {
*/ */
export function exportSecret(name: string, val: string): void { export function exportSecret(name: string, val: string): void {
exportVariable(name, val) exportVariable(name, val)
// the runner will error with not implemented.
// leaving the function but raising the error earlier
throw new Error("Not implemented.");
issueCommand('set-secret', {}, val) issueCommand('set-secret', {}, val)
} }