Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
mfgames-writing
mfgames-writing-format-js
Compare Revisions
v0.10.2...v0.10.3
Commits (2)
Changed debugging messages to investigate CI issues.
· de9bfb3b
Dylan R. E. Moonfire
authored
Apr 16, 2017
de9bfb3b
0.10.3
· 83ea14f7
Dylan R. E. Moonfire
authored
Apr 16, 2017
83ea14f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
package.json
package.json
+1
-1
src/image.ts
src/image.ts
+1
-0
No files found.
package.json
View file @
83ea14f7
{
"name"
:
"mfgames-writing-format"
,
"version"
:
"0.10.
2
"
,
"version"
:
"0.10.
3
"
,
"description"
:
"A command-line framework for formatting books into a variety of formats."
,
"repository"
:
{
"type"
:
"git"
,
...
...
src/image.ts
View file @
83ea14f7
...
...
@@ -111,6 +111,7 @@ function getFormatImageRequest(content: ContentArgs, href: string, imagePath: st
function
processImage
(
content
:
ContentArgs
,
imageRequest
:
FormatImageRequest
):
Promise
<
FormatImageRequest
>
{
// Make a little noise.
content
.
logger
.
debug
(
`Processing image
${
imageRequest
.
id
}
:
${
imageRequest
.
imagePath
}
`
);
content
.
logger
.
debug
(
`Image Buffer:
${
imageRequest
.
buffer
}
`
);
let
FileType
=
require
(
"
file-type
"
);
let
imageMime
=
FileType
(
imageRequest
.
buffer
);
content
.
logger
.
debug
(
`File Type:
${
imageMime
}
`
);
...
...