Skip to content

Commit 63eea2a

Browse files
committed
fix: replace fs-extra.ensureFileSync with fs.writeFileSync
1 parent 839f9b8 commit 63eea2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/builders/ProjectBuilder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ class ProjectBuilder {
301301

302302
if (fs.existsSync(signingPropertiesPath)) fs.rmSync(signingPropertiesPath);
303303
if (opts.packageInfo) {
304-
fs.ensureFileSync(signingPropertiesPath);
304+
fs.writeFileSync(signingPropertiesPath, '', 'utf8');
305305
const signingProperties = createEditor(signingPropertiesPath);
306306
signingProperties.addHeadComment(TEMPLATE);
307307
opts.packageInfo.appendToProperties(signingProperties);

0 commit comments

Comments
 (0)