mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
300 B
Vue
15 lines
300 B
Vue
<script>
|
|
import { mapGetters } from 'vuex';
|
|
|
|
export default {
|
|
computed: {
|
|
...mapGetters(['taintedGetter', 'untaintedGetter'])
|
|
},
|
|
methods: {
|
|
sinks() {
|
|
sink(this.taintedGetter); // NOT OK
|
|
sink(this.untaintedGetter); // OK
|
|
}
|
|
}
|
|
};
|
|
</script> |