cleanup and overide

This commit is contained in:
Slawomir Jaranowski
2020-01-23 22:41:53 +01:00
parent cfeadc6038
commit e385db4b9a
6 changed files with 223 additions and 41 deletions

View File

@ -21,16 +21,16 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
const core = require('@actions/core');
const os = require('os');
const path = require('path');
const core = require('@actions/core');
const settings = require('./settings');
async function run() {
settings.cleanup();
try {
settings.cleanup();
} catch (error) {
core.setFailed(error.message);
}
}
run();
module.exports = { run };