Skip to content

Commit

Permalink
Fix Node script for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jieiku committed Jun 25, 2024
1 parent 7ca3ed0 commit ce2044a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions package_abridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ async function abridge() {
if (!fs.lstatSync(path+file).isDirectory()) {
// format output
item = "/"+file.replace(/index\.html$/i,'');// strip index.html from path
item = item.replace(/\\/g,'/');// replace backslash with forward slash for Windows
item = item.replace(/^\/sw(\.min)?\.js/i,'');// dont cache service worker

// if formatted output is not empty line then append it to cache var
Expand Down
2 changes: 1 addition & 1 deletion static/js/abridge.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/abridge_nopwa.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/abridge_nosearch.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/js/abridge_nosearch_nopwa.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/js/katexbundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/search_stork.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/search_tinysearch.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ce2044a

Please sign in to comment.