Skip to content

Commit 67af6dc

Browse files
authored
Merge pull request #657 from bendrucker/deprecated-fs-rmdir
Replace deprecated `fs.rmdir` with `fs.rm`
2 parents 1cb9d22 + 988cb09 commit 67af6dc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function run(): Promise<void> {
8383
async function cleanup(): Promise<void> {
8484
if (stateHelper.tmpDir.length > 0) {
8585
core.startGroup(`Removing temp folder ${stateHelper.tmpDir}`);
86-
fs.rmdirSync(stateHelper.tmpDir, {recursive: true});
86+
fs.rmSync(stateHelper.tmpDir, {recursive: true});
8787
core.endGroup();
8888
}
8989
}

0 commit comments

Comments
 (0)