mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
contrib: Fix Jsonnet examples
PiperOrigin-RevId: 439765726 Change-Id: I8371b7b1e5b7527e882e04e583e51e126ad735b9
This commit is contained in:
parent
944e931a95
commit
c5afd39cc4
|
@ -25,7 +25,7 @@ absl::Status JsonnetMain(std::string in_file, std::string out_file) {
|
|||
|
||||
// Initialize sandbox.
|
||||
JsonnetBaseSandbox sandbox(in_file, out_file);
|
||||
SAPI_RETURN_IF_ERROR(sandbox.Init())
|
||||
SAPI_RETURN_IF_ERROR(sandbox.Init());
|
||||
|
||||
JsonnetApi api(&sandbox);
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ absl::Status JsonnetMain(std::string in_file, std::string out_file) {
|
|||
|
||||
// Initialize sandbox.
|
||||
JsonnetSapiSandbox sandbox(in_file, out_file);
|
||||
SAPI_RETURN_IF_ERROR(sandbox.Init())
|
||||
SAPI_RETURN_IF_ERROR(sandbox.Init());
|
||||
|
||||
JsonnetApi api(&sandbox);
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ absl::Status JsonnetMain(std::string in_file, std::string out_file) {
|
|||
|
||||
// Initialize sandbox.
|
||||
JsonnetSapiSandbox sandbox(in_file, out_file);
|
||||
SAPI_RETURN_IF_ERROR(sandbox.Init())
|
||||
SAPI_RETURN_IF_ERROR(sandbox.Init());
|
||||
|
||||
JsonnetApi api(&sandbox);
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ absl::Status JsonnetMain(std::string in_file, std::string out_file) {
|
|||
|
||||
// Initialize sandbox.
|
||||
JsonnetBaseSandbox sandbox(in_file, out_file);
|
||||
SAPI_RETURN_IF_ERROR(sandbox.Init())
|
||||
SAPI_RETURN_IF_ERROR(sandbox.Init());
|
||||
|
||||
JsonnetApi api(&sandbox);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user