mirror of
https://github.com/s4u/maven-settings-action.git
synced 2026-02-12 00:05:49 +08:00
cleanup and overide
This commit is contained in:
12
cleanup.js
12
cleanup.js
@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user