mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 09:11:14 +08:00
fix ../
This commit is contained in:
@@ -31,7 +31,7 @@ function getExample(componentName) {
|
||||
return;
|
||||
}
|
||||
return {
|
||||
path: path,
|
||||
path: path.replace(/^\.\.\//, ''),
|
||||
content: fs.readFileSync(path).toString(),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user