Skip to content

Commit 187bcc0

Browse files
s4ayubfacebook-github-bot
authored andcommitted
Remove fmt from environment header (#78)
Summary: Pull Request resolved: #78 This makes it so we don't have to package fmt headers with oss deploy release. Reviewed By: PaliC Differential Revision: D37408294 fbshipit-source-id: bc11ae12f37b08239a054e087d286b3070686f3d
1 parent 46a99e8 commit 187bcc0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

multipy/runtime/environment.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// LICENSE file in the root directory of this source tree.
66

77
#pragma once
8-
#include <fmt/format.h>
98
#include <fstream>
109
#include <string>
1110
#include "Exception.h"
@@ -62,7 +61,7 @@ class Environment {
6261
setupZippedPythonModules(pythonAppDir);
6362
}
6463
virtual ~Environment() {
65-
auto rmCmd = fmt::format("rm -rf {}", extraPythonLibrariesDir_);
64+
auto rmCmd = "rm -rf " + extraPythonLibrariesDir_;
6665
system(rmCmd.c_str());
6766
}
6867
virtual void configureInterpreter(Interpreter* interp) = 0;

0 commit comments

Comments
 (0)