Skip to content

Commit

Permalink
remove commented out new code
Browse files Browse the repository at this point in the history
  • Loading branch information
JL102 committed Jan 24, 2025
1 parent 398ca86 commit da2d9c3
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions scripts/uploadversion.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,6 @@ console.log(`alias=${alias} functionName=${functionName} folder=${folder}`);
// file_system.mkdirSync(folderPath);
//}

// lambda.getFunctionConfiguration({FunctionName: functionName}).promise()
// .then(result => {
// console.log(result);
// if (result.state === 'Failed') {
// throw 'Lambda resource update failed';
// }
// if (result.state === 'Pending') {
// throw 'Pending';
// }
// });

makeZip(folder, (err, zipBuffer) => {
if (err) {
throw err;
Expand Down Expand Up @@ -354,4 +343,4 @@ function getFileListWithIgnore(pathToArchive) {
}
);
});
}
}

0 comments on commit da2d9c3

Please sign in to comment.