mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-25 18:50:35 +08:00
refactor(js): change framework dir name to driver
This commit is contained in:
@@ -23,7 +23,7 @@ if (!cmd) {
|
||||
}
|
||||
const BASE_PATH = process.cwd();
|
||||
// Target demo project path
|
||||
const DEMO_PATH = path.join(BASE_PATH, 'framework/js/examples', example);
|
||||
const DEMO_PATH = path.join(BASE_PATH, 'driver/js/examples', example);
|
||||
if (!test('-d', DEMO_PATH)) {
|
||||
console.error(`❌ Can not find demo project: ${example}, ${cmdExample}.`);
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user