mirror of
https://gitee.com/openharmony/napi_generator
synced 2024-11-23 08:20:01 +00:00
fix bug
Signed-off-by: chen-zhongwei050 <chenzhongwei050@chinasoftinc.com>
This commit is contained in:
parent
ba0f9eb78b
commit
d97a7464c9
@ -104,7 +104,7 @@ function genDriverFramework(driverName, out = '') {
|
||||
let frameworkJsonPath = path.join(__dirname, './templete/framework.json');
|
||||
let frameworkJson = getJsonCfg(frameworkJsonPath);
|
||||
|
||||
let frameworkPath = pathJoin(out, 'hdf');
|
||||
let frameworkPath = pathJoin(out, driverName + 'hdf');
|
||||
|
||||
let namespaceName = driverName.substring(0,1).toUpperCase() + driverName.substring(1, driverName.length);
|
||||
let idlFileName = 'I' + namespaceName + 'Interface';
|
||||
|
Loading…
Reference in New Issue
Block a user