Skip to content

Commit

Permalink
Exit 1 after TensorBoard deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 committed May 11, 2024
1 parent bc8522f commit 0e032b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/cml/tensorboard/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const tempy = require('tempy');
const { logger } = require('../../../src/logger');

const { exec, watermarkUri, sleep } = require('../../../src/utils');
const yargs = require('yargs');

const tbLink = async (opts = {}) => {
const { stdout, stderror, title, name, rmWatermark, md, timeout = 60 } = opts;
Expand Down Expand Up @@ -83,7 +84,7 @@ exports.description = `${DESCRIPTION}\n${DOCSURL}`;
exports.handler = async (opts) => {
if (new Date() > new Date('2024-01-01')) {
logger.error('TensorBoard.dev has been shut down as of January 1, 2024');
return;
yargs.exit(1);
}

const { file, credentials, name, description } = opts;
Expand Down

0 comments on commit 0e032b6

Please sign in to comment.