Skip to content

Commit cddc0f8

Browse files
committed
update actions -3
1 parent e17f87d commit cddc0f8

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

scripts/version.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
/* eslint-disable @typescript-eslint/no-var-requires */
2-
const fs = require('fs');
3-
const path = require('path');
1+
import fs from 'fs';
2+
import path from 'path';
3+
import { fileURLToPath } from 'url';
4+
5+
const __filename = fileURLToPath(import.meta.url);
6+
const __dirname = path.dirname(__filename);
47

58
console.log('Starting version update process...');
69

0 commit comments

Comments
 (0)