Skip to content

Commit c598a11

Browse files
committed
create empty config before bindiff_config_setup
1 parent c4bf5d9 commit c598a11

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

dist/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28392,6 +28392,7 @@ const exec = __nccwpck_require__(5236);
2839228392
const io = __nccwpck_require__(4994);
2839328393
const tc = __nccwpck_require__(3472);
2839428394
const os = __nccwpck_require__(857);
28395+
const fs = __nccwpck_require__(1943);
2839528396
const path = __nccwpck_require__(6928);
2839628397
const which = __nccwpck_require__(1189)
2839728398

@@ -28556,6 +28557,7 @@ async function setup(installPath) {
2855628557
}
2855728558

2855828559
// setup paths
28560+
await fs.writeFile(configPath, '{}');
2855928561
await exec.exec('bindiff_config_setup', [
2856028562
'--config', configPath,
2856128563
`directory=${installPath}`,

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.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const exec = require('@actions/exec');
33
const io = require("@actions/io");
44
const tc = require('@actions/tool-cache');
55
const os = require('os');
6+
const fs = require('fs/promises');
67
const path = require('path');
78
const which = require('which')
89

@@ -167,6 +168,7 @@ async function setup(installPath) {
167168
}
168169

169170
// setup paths
171+
await fs.writeFile(configPath, '{}');
170172
await exec.exec('bindiff_config_setup', [
171173
'--config', configPath,
172174
`directory=${installPath}`,

0 commit comments

Comments
 (0)