File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ async function main() {
67
67
main ( )
68
68
69
69
async function installIfVersionMismatch ( ) : void {
70
- const dependenciesYaml = fs . readFileSync ( './ tea.yaml', 'utf8' )
70
+ const dependenciesYaml = fs . readFileSync ( projectPath ( ' tea.yaml') , 'utf8' )
71
71
const dependencies = parseYaml ( dependenciesYaml ) . dependencies
72
72
73
73
const requiredNodeVersion = dependencies [ 'nodejs.org' ]
Original file line number Diff line number Diff line change 1
1
const { readdirSync } = require ( 'node:fs' )
2
2
const { resolve } = require ( 'node:path' )
3
3
const { paramCase } = require ( 'change-case' )
4
- // eslint-disable-next-line no-console
5
- console . log ( 'here __filename' , __filename )
6
4
const jiti = require ( 'jiti' ) ( __filename )
7
5
8
- const git = jiti ( './config/git.ts' , {
9
- alias : { // test this with the ./config/git config import
10
- '@' : resolve ( __dirname , './' ) ,
11
- } ,
12
- } )
6
+ const git = jiti ( './config/git.ts' ,
7
+ // {
8
+ // alias: { // test this with the ./config/git config import
9
+ // '@': resolve(__dirname, './'),
10
+ // },
11
+ // }
12
+ )
13
13
14
14
const toDelete = [ 'readme-md' ]
15
15
You can’t perform that action at this time.
0 commit comments