Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
[xdl] remove unused function from ExponentTools
Browse files Browse the repository at this point in the history
  • Loading branch information
dsokal committed Jul 14, 2020
1 parent cd0f30b commit d7e4d4d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/xdl/src/detach/ExponentTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ import { Readable } from 'stream';
import XDLError from '../XDLError';
import LoggerDetach, { Logger, pipeOutputToLogger } from './Logger';

function _getFilesizeInBytes(path: string) {
let stats = fs.statSync(path);
let fileSizeInBytes = stats['size'];
return fileSizeInBytes;
}

function parseSdkMajorVersion(expSdkVersion: string) {
// We assume that the unversioned SDK is the latest
if (expSdkVersion === 'UNVERSIONED') {
Expand Down

0 comments on commit d7e4d4d

Please sign in to comment.