Skip to content

Commit 2dad191

Browse files
committed
Rename FunctionLoader files to LegacyFunctionLoader
1 parent 64f643b commit 2dad191

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed
File renamed without changes.

src/Worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Licensed under the MIT License.
33

44
import * as parseArgs from 'minimist';
5-
import { LegacyFunctionLoader } from './FunctionLoader';
65
import { CreateGrpcEventStream } from './GrpcClient';
6+
import { LegacyFunctionLoader } from './LegacyFunctionLoader';
77
import { setupCoreModule } from './setupCoreModule';
88
import { setupEventStream } from './setupEventStream';
99
import { startBlockedMonitor } from './utils/blockedMonitor';

src/WorkerChannel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import { FunctionCallback, HookCallback, HookContext, HookData, ProgrammingModel } from '@azure/functions-core';
55
import { AzureFunctionsRpcMessages as rpc } from '../azure-functions-language-worker-protobuf/src/rpc';
66
import { Disposable } from './Disposable';
7-
import { ILegacyFunctionLoader } from './FunctionLoader';
87
import { IEventStream } from './GrpcClient';
8+
import { ILegacyFunctionLoader } from './LegacyFunctionLoader';
99
import { PackageJson, parsePackageJson } from './parsers/parsePackageJson';
1010
import { ensureErrorType } from './utils/ensureErrorType';
1111
import LogLevel = rpc.RpcLog.Level;

test/FunctionLoader.test.ts renamed to test/LegacyFunctionLoader.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as chaiAsPromised from 'chai-as-promised';
66
import 'mocha';
77
import * as mock from 'mock-require';
88
import { AzureFunctionsRpcMessages as rpc } from '../azure-functions-language-worker-protobuf/src/rpc';
9-
import { LegacyFunctionLoader } from '../src/FunctionLoader';
9+
import { LegacyFunctionLoader } from '../src/LegacyFunctionLoader';
1010
const expect = chai.expect;
1111
chai.use(chaiAsPromised);
1212

test/eventHandlers/FunctionLoadHandler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import 'mocha';
55
import * as sinon from 'sinon';
66
import { AzureFunctionsRpcMessages as rpc } from '../../azure-functions-language-worker-protobuf/src/rpc';
7-
import { LegacyFunctionLoader } from '../../src/FunctionLoader';
7+
import { LegacyFunctionLoader } from '../../src/LegacyFunctionLoader';
88
import { PackageJson } from '../../src/parsers/parsePackageJson';
99
import { beforeEventHandlerSuite } from './beforeEventHandlerSuite';
1010
import { TestEventStream } from './TestEventStream';

test/eventHandlers/InvocationHandler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { expect } from 'chai';
99
import 'mocha';
1010
import * as sinon from 'sinon';
1111
import { AzureFunctionsRpcMessages as rpc } from '../../azure-functions-language-worker-protobuf/src/rpc';
12-
import { LegacyFunctionLoader } from '../../src/FunctionLoader';
12+
import { LegacyFunctionLoader } from '../../src/LegacyFunctionLoader';
1313
import { WorkerChannel } from '../../src/WorkerChannel';
1414
import { Msg as AppStartMsg } from '../startApp.test';
1515
import { beforeEventHandlerSuite } from './beforeEventHandlerSuite';

test/eventHandlers/beforeEventHandlerSuite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Licensed under the MIT License.
33

44
import * as sinon from 'sinon';
5-
import { LegacyFunctionLoader } from '../../src/FunctionLoader';
5+
import { LegacyFunctionLoader } from '../../src/LegacyFunctionLoader';
66
import { setupCoreModule } from '../../src/setupCoreModule';
77
import { setupEventStream } from '../../src/setupEventStream';
88
import { WorkerChannel } from '../../src/WorkerChannel';

0 commit comments

Comments
 (0)