Commit 735bba59 authored by rockyl's avatar rockyl

init

parent e01b54f6
...@@ -24,9 +24,7 @@ if(!program.input || !program.output){ ...@@ -24,9 +24,7 @@ if(!program.input || !program.output){
process.exit(1); process.exit(1);
} }
console.log('program.pathofcomponents:', program.pathofcomponents);
const componentsPath = program.pathofcomponents || path.join(os.homedir(), '.scilla', 'components'); const componentsPath = program.pathofcomponents || path.join(os.homedir(), '.scilla', 'components');
console.log('componentsPath:', componentsPath);
const componentsSrcPath = path.join(componentsPath, 'src'); const componentsSrcPath = path.join(componentsPath, 'src');
const tsconfig = fs.readJsonSync(path.join(componentsPath, 'tsconfig.json')); const tsconfig = fs.readJsonSync(path.join(componentsPath, 'tsconfig.json'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment