fix ../
This commit is contained in:
parent
a4a551c571
commit
115b2a3fde
|
@ -31,7 +31,7 @@ function getExample(componentName) {
|
|||
return;
|
||||
}
|
||||
return {
|
||||
path: path,
|
||||
path: path.replace(/^\.\.\//, ''),
|
||||
content: fs.readFileSync(path).toString(),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue