diff --git a/src/compiler/file_uploader/index.ts b/src/compiler/file_uploader/index.ts index 7351f283c0..ce81ed87a7 100644 --- a/src/compiler/file_uploader/index.ts +++ b/src/compiler/file_uploader/index.ts @@ -2,7 +2,6 @@ import { getCanisterId } from '../../../dfx'; import { expandPaths } from './expand_paths'; import { uploadFile } from './upload_file'; import { onBeforeExit } from './on_before_exit'; -import { onExit } from './on_exit'; import { createActor } from './file_chunk_actor'; export type Src = string; @@ -26,5 +25,4 @@ export async function uploadFiles(canisterName: string, paths: [Src, Dest][]) { ); onBeforeExit(canisterId, expandedPaths); - onExit(canisterId, expandedPaths); }