Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
samteb committed Jan 18, 2024
1 parent da4f49c commit 5fd8b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/authz/src/app/opa/rego/script.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { loadPolicy } from '@open-policy-agent/opa-wasm'
import fs from 'fs'
import policyData from '../build/data.json'
import policyData from '../rego/data.json'

Check failure on line 3 in apps/authz/src/app/opa/rego/script.ts

View workflow job for this annotation

GitHub Actions / Build and test

import statements should have an absolute path
import policyInput from './input.json'

const policyWasm = fs.readFileSync('/Users/samuel/Documents/narval/narval/apps/authz/src/app/opa/build/policy.wasm')
Expand Down

0 comments on commit 5fd8b57

Please sign in to comment.