Commit 021051a0 authored by rockyl's avatar rockyl

init

parent 50fed0f1
......@@ -23,8 +23,9 @@ if(!program.input || program.output){
process.exit(1);
}
console.log('program.pathofcomponents:', program.pathofcomponents);
const componentsPath = program.pathofcomponents || path.join(os.homedir(), '.scilla', 'components');
console.log('componentsPath: ', componentsPath);
console.log('componentsPath:', componentsPath);
const componentsSrcPath = path.join(componentsPath, 'src');
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