Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel committed Feb 19, 2024
1 parent e1c6cbf commit 5d09ccc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/authz/src/app/opa/opa.service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Injectable, Logger, OnApplicationBootstrap } from '@nestjs/common'
import { loadPolicy } from '@open-policy-agent/opa-wasm'
import { execSync } from 'child_process'
import { mkdirSync, readFileSync, writeFileSync } from 'fs'
import Handlebars from 'handlebars'
import { indexBy } from 'lodash/fp'
Expand Down Expand Up @@ -73,10 +72,6 @@ export class OpaService implements OnApplicationBootstrap {

this.logger.log('Policy .rego file generated successfully.')

execSync('make authz/rego/build')

this.logger.log('Policies .wasm file build successfully.')

return { fileId, policies }
}

Expand Down

0 comments on commit 5d09ccc

Please sign in to comment.