mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 17:39:50 +00:00
Trim file output
This commit is contained in:
2
lib/actions-util.js
generated
2
lib/actions-util.js
generated
@@ -402,7 +402,7 @@ const getFileType = async (filePath) => {
|
||||
},
|
||||
},
|
||||
}).exec();
|
||||
return stdout;
|
||||
return stdout.trim();
|
||||
}
|
||||
catch (e) {
|
||||
core.info(`Could not determine type of ${filePath} from ${stdout}. ${stderr}`);
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user