Skip to content

Commit

Permalink
Merge pull request HaveAGitGat#684 from HaveAGitGat/classic
Browse files Browse the repository at this point in the history
Re-order filepath change logging
  • Loading branch information
HaveAGitGat authored Jul 8, 2024
2 parents 81d79ef + 90402f2 commit 71f468f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
os:
[
["ubuntu-20.04"],
["windows-2019"],
["macos-11.0"],
["windows-2022"],
["macos-14"],
]
runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion FlowPlugins/FlowHelpers/1.0.0/classicPlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ var runClassicPlugin = function (args, type) { return __awaiter(void 0, void 0,
case 16:
result = _b.sent();
if (((_a = result === null || result === void 0 ? void 0 : result.file) === null || _a === void 0 ? void 0 : _a._id) && args.inputFileObj._id !== result.file._id) {
args.jobLog("File ID changed from ".concat(args.inputFileObj._id, " to ").concat(result.file._id));
// eslint-disable-next-line no-param-reassign
args.inputFileObj._id = result.file._id;
// eslint-disable-next-line no-param-reassign
args.inputFileObj.file = result.file.file;
args.jobLog("File ID changed from ".concat(args.inputFileObj._id, " to ").concat(result.file._id));
}
return [2 /*return*/, {
result: result,
Expand Down
2 changes: 1 addition & 1 deletion FlowPluginsTs/FlowHelpers/1.0.0/classicPlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ export const runClassicPlugin = async (args:IpluginInputArgs, type:'filter'|'tra
);

if (result?.file?._id && args.inputFileObj._id !== result.file._id) {
args.jobLog(`File ID changed from ${args.inputFileObj._id} to ${result.file._id}`);
// eslint-disable-next-line no-param-reassign
args.inputFileObj._id = result.file._id;
// eslint-disable-next-line no-param-reassign
args.inputFileObj.file = result.file.file;
args.jobLog(`File ID changed from ${args.inputFileObj._id} to ${result.file._id}`);
}

return {
Expand Down

0 comments on commit 71f468f

Please sign in to comment.