Trim file output
This commit is contained in:
parent
68d0b65ee5
commit
738030674f
3 changed files with 3 additions and 3 deletions
|
|
@ -452,7 +452,7 @@ export const getFileType = async (filePath: string): Promise<string> => {
|
|||
},
|
||||
},
|
||||
).exec();
|
||||
return stdout;
|
||||
return stdout.trim();
|
||||
} catch (e) {
|
||||
core.info(
|
||||
`Could not determine type of ${filePath} from ${stdout}. ${stderr}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue