mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-07-31 19:03:14 +03:00
Revert convert to esm (#544)
* Revert "update got dependency and convert to esm module (#533)"
This reverts commit 77efb36ae3.
* keep new local test file changes
* keep changes to PR template
* update changelog
This commit is contained in:
committed by
GitHub
parent
ee41aa2fcf
commit
66531b2752
+5
-5
@@ -1,8 +1,8 @@
|
||||
// @ts-check
|
||||
import core from '@actions/core';
|
||||
import * as fs from 'fs';
|
||||
import got from 'got';
|
||||
import rsasign from 'jsrsasign';
|
||||
const core = require('@actions/core');
|
||||
const rsasign = require('jsrsasign');
|
||||
const fs = require('fs');
|
||||
const { default: got } = require('got');
|
||||
|
||||
const defaultKubernetesTokenPath = '/var/run/secrets/kubernetes.io/serviceaccount/token'
|
||||
/***
|
||||
@@ -154,6 +154,6 @@ async function getClientToken(client, method, path, payload) {
|
||||
* }} auth
|
||||
*/
|
||||
|
||||
export {
|
||||
module.exports = {
|
||||
retrieveToken,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user