diff options
| author | Egor Tensin <egor@tensin.name> | 2026-02-28 22:23:19 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-02-28 22:28:23 +0100 |
| commit | cf0901d753db0bf4d15baf625a6fa537978b03a9 (patch) | |
| tree | 41ae5e7f9eacdc67b9fa980596c803b9c50ca188 /restore.js | |
| parent | upgrade actions/core to version 2 (diff) | |
| download | cleanup-path-4.0.3.tar.gz cleanup-path-4.0.3.zip | |
The relevant changes are in clean.js/restore.js. I'm very, very far away
from the entire Javascript infrastructure, and absolutely don't
understand why this changes were necessary. Thanks, ChatGPT! Supposedly,
this has something to do with the actions/core's transition to ESM or
whatever.
Diffstat (limited to 'restore.js')
| -rw-r--r-- | restore.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ -const os = require('os'); -const process = require('process'); +import * as os from 'os'; +import * as process from 'process'; -const core = require('@actions/core'); +import * as core from '@actions/core'; try { if (os.platform != 'win32') { |
