Skip to content

Commit 84b069e

Browse files
BACKLOG-22972: Fix fs import (#278)
Fix the import (use require instead of import) of the "fs" module
1 parent 4f108a3 commit 84b069e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/scripts/pack-utility.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import fs from "fs";
1+
const fs = require('fs');
22

33
function getPackageFilename(packageJsonPath, packageName, packageVersion) {
44
const packageJsonContent = fs.readFileSync(packageJsonPath, { encoding: 'utf8' });

0 commit comments

Comments
 (0)