Skip to content

Commit 85d1699

Browse files
updates
1 parent 18a9b6a commit 85d1699

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/documentation/index.mjs renamed to src/documentation/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ _just.string = require('../modules/string.js');
3333
_just.element = (type, insert) => `<_just${type ? ` element="${type}"` : ''}>${insert || ''}</_just>`;
3434
_just.error = require('../modules/errmsg.js');
3535
_just.ssapi = require('../modules/ssapi.js');
36-
_just.customCSS = require('./customcss.js').customcss;
36+
_just.customCSS = require('./customcss.js');
3737

3838
const link = (text, link_, ext = false, extid = "ext", target = "_blank") => `<a href="${link_}" target="${target}"${ext ? ` id="${extid}"` : ''}>${text}</a>`;
3939
const span = (text) => `<span>${text}</span>`;
@@ -765,7 +765,7 @@ markdownFiles.forEach(file => {
765765
logs += `${l[2]}OUTPUT: ${_just.string.runnerPath(outFilePath('html'))} (${_just.string.fileSize(fs.statSync(outFilePath('html')).size)})`;
766766
});
767767

768-
CSS = _just.customCSS(CSS, customCSS == 'false' ? undefined : customCSS);
768+
CSS = _just.customCSS.customcss(CSS, customCSS == 'false' ? undefined : customCSS);
769769

770770
logs += linklogs; logs += buttonlogs;
771771
logs += `${l[0]}USED NAMES:${l[1]}"${uniqueNames_.join('", "')}"${l[0]}DATA NAMES:${l[1]}"${dataname.join('", "')}"`;

src/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ elif [ "$TYPE" == "generator" ]; then
163163
mkdir -p deploy && \
164164
installNodejs && \
165165
bash $GITHUB_ACTION_PATH/src/documentation/checks.sh && \
166-
node "$GITHUB_ACTION_PATH/src/documentation/index.mjs" "$HTML" "$CSS" "$JS" "$INPUT_PATH" "$GITHUB_REPOSITORY" "$GITHUB_REPOSITORY_OWNER" "$CUSTOMCSS" && \
166+
node "$GITHUB_ACTION_PATH/src/documentation/index.js" "$HTML" "$CSS" "$JS" "$INPUT_PATH" "$GITHUB_REPOSITORY" "$GITHUB_REPOSITORY_OWNER" "$CUSTOMCSS" && \
167167
node $GITHUB_ACTION_PATH/src/compress.js "$INPUT_PATH" && \
168168
node "$GITHUB_ACTION_PATH/src/documentation/logs.js" "$INPUT_PATH" && \
169169
echo "$msg9"

0 commit comments

Comments
 (0)