From d226a0fe29f0a9d6d3dd555df5a874d05bf194da Mon Sep 17 00:00:00 2001 From: Jonas Bovin Date: Wed, 23 Nov 2022 09:17:09 +0100 Subject: [PATCH] Reverted test change --- README.md | 16 ++++++++++------ dist/index.js | 1 - src/se.ts | 1 - 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8651ae8..c14b922 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,16 @@ The following arguments will be provided: - `io` A reference to the [@actions/io](https://github.com/actions/toolkit/tree/main/packages/io) package - `exec` A reference to the [@actions/exec](https://github.com/actions/toolkit/tree/main/packages/exec) package - `require` A proxy wrapper around the normal Node.js `require` to enable -- 'se' A library for resusbale functions - requiring relative paths (relative to the current working directory) and - requiring npm packages installed in the current working directory. If for - some reason you need the non-wrapped `require`, there is an escape hatch - available: `__original_require__` is the original value of `require` without - our wrapping applied. +- `se` A library for resusbale functions + - `createMetaJson` Create meta.json files for all deployable component + - `startCheck` Helper method to create a check without annotations + - `completeCheck` Helper method to finish a check without annotations + +requiring relative paths (relative to the current working directory) and +requiring npm packages installed in the current working directory. If for +some reason you need the non-wrapped `require`, there is an escape hatch +available: `__original_require__` is the original value of `require` without +our wrapping applied. Since the `script` is just a function body, these values will already be defined, so you don't have to import them (see examples below). diff --git a/dist/index.js b/dist/index.js index 20a4bcc..c5e4d7f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -13614,7 +13614,6 @@ class se_Helper { shell: '/bin/bash' }); console.log(xmllint.toString()); - const x = '22'; const command = `#!/bin/bash cd ` + root + diff --git a/src/se.ts b/src/se.ts index 41f1a2a..96a2ef3 100644 --- a/src/se.ts +++ b/src/se.ts @@ -22,7 +22,6 @@ export class Helper { shell: '/bin/bash' }) console.log(xmllint.toString()) - const x = '22' const command = `#!/bin/bash cd ` +