Skip to content

Commit

Permalink
Merge pull request #134 from CCALI/conditional-space
Browse files Browse the repository at this point in the history
Conditional space
  • Loading branch information
tobiasnteireho authored Oct 16, 2023
2 parents a12b561 + ef369df commit 79ee321
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "a2jdat",
"version": "8.0.1",
"version": "8.0.2-0",
"description": "Authoring and viewer App GUI.",
"license": "GNU AGPL v3.0",
"author": {
Expand Down Expand Up @@ -29,7 +29,7 @@
"lint:pdf": "standard src/*.js src/**/*.js --fix && standard test/**/*.js --fix --env mocha"
},
"dependencies": {
"@caliorg/a2jdeps": "^7.1.0",
"@caliorg/a2jdeps": "^7.1.7-1",
"axios": "^0.21.1",
"babel-polyfill": "^6.26.0",
"body-parser": "^1.19.0",
Expand Down
2 changes: 1 addition & 1 deletion src/util/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = {
*/
normalizeFileDataUrl (fileDataUrl) {
const isAbsolutePath = path.isAbsolute(fileDataUrl)
const isUrl = urlRegex({strict:true}).test(fileDataUrl)
const isUrl = urlRegex({strict: true}).test(fileDataUrl)
console.log({isAbsolutePath, isUrl})

return (isUrl || isAbsolutePath)
Expand Down

0 comments on commit 79ee321

Please sign in to comment.