mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-27 16:05:48 +01:00
Read contents of the function's directory
This commit is contained in:
parent
88ac521fae
commit
4156458106
@ -1,8 +1,8 @@
|
|||||||
import { readdirSync } from 'fs';
|
import { readdirSync } from 'fs';
|
||||||
|
|
||||||
console.log('/var/runtime:\n' + readdirSync('/var/runtime'));
|
console.log(readdirSync('/var/task/netlify/functions/validate-pr'));
|
||||||
|
|
||||||
process.chdir('/var/runtime');
|
process.chdir('/var/task/netlify/functions/validate-pr');
|
||||||
|
|
||||||
import {
|
import {
|
||||||
createProbot,
|
createProbot,
|
||||||
|
Loading…
Reference in New Issue
Block a user