Skip to content

Commit 3b081de

Browse files
committed
fix: Correct prepublish script
1 parent b2a5421 commit 3b081de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/set_strict.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ const file = join(__dirname, '../src/lib/utils/index.ts');
1010
const isStrict = process.argv[2] === 'true'
1111

1212
fs.readFile(file, { encoding: 'utf-8'})
13-
.then(text => fs.writeFile(file, text.replace(/type Strict =.*/, `type Strict = ${isStrict};`)))
13+
.then(text => fs.writeFile(file, text.replace(/type InternalOnly =.*/, `type InternalOnly = ${isStrict};`)))
1414
.catch(reason => {
1515
console.error(reason);
1616
process.exit(1);
1717
});
18-

0 commit comments

Comments
 (0)