diff --git a/gulpfile.js b/gulpfile.js index 5938e46..d219d8d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -310,7 +310,7 @@ async function publishToFoundry(done) { const responseData = await response.text(); - if (responseData.contains('success')) { + if (responseData.includes('success')) { console.log('Successfully published to Foundry VTT:'); console.log(JSON.stringify(responseData, null, 2)); done();