Skip to content

Commit

Permalink
更改路径的bug,ubuntu的文件路径是以/作为分隔的
Browse files Browse the repository at this point in the history
  • Loading branch information
xygodcyx committed May 26, 2024
1 parent c236090 commit a71cf04
Show file tree
Hide file tree
Showing 2 changed files with 3,534 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const traverseDirectory = (dir, rootDir) => {
if (!companies['_files']) {
companies['_files'] = [];
}
const infos = relativePathFroImgs.split('\\');
const infos = relativePathFroImgs.split('/');
const company = infos[0];
const app = infos[1];
// const app;
Expand Down
Loading

0 comments on commit a71cf04

Please sign in to comment.